Campbell Barton
87aa456ea5
Fix T61172: Crash in texture paint undo/redo
...
Mixing texture paint undo w/ memfile undo was crashing.
The gputextures and render result are written to the FileData.imamap
but weren't read back.
2019-02-04 19:53:09 +11:00
Campbell Barton
55c29e36dc
Undo System: add function to print undo steps
...
Useful for debugging.
2019-02-04 15:01:55 +11:00
Campbell Barton
b5c841498c
Fix adding a paint texture slot not refreshing
...
Adding a new slot wasn't refreshing when the
object had no material.
2019-02-04 14:47:02 +11:00
Pablo Vazquez
e6a917cd4e
UI: Use 'None' label instead of 'No' for Physics Type
...
Matches other enums in particle settings and pretty much all over Blender.
2019-02-04 01:45:53 +01:00
Pablo Vazquez
3be845ce20
Cleanup: Typos in comments (to to)
2019-02-04 01:23:48 +01:00
Antonioya
838a34324a
GP: Fix compiler error
2019-02-03 19:56:57 +01:00
Antonioya
2672552cf7
T61140 Shortcut Eraser and Eraser are not the same
...
Set default eraser with the last eraser used, and remove the toggle button from UI panel.
2019-02-03 13:27:47 +01:00
Joshua Leung
2a237377ce
Fix typos
2019-02-04 00:41:14 +13:00
Joshua Leung
65340ad73f
Fix T60753: Graph Editor showing cache curves regardless of filters
...
This commit adds a datablock filtering option for cache files channels,
so that a shot with lots of these in addition to standard animation
(e.g. the Spring production files) don't become bogged down by these.
Furthermore, these channels also respect the "Only Selected" toggle too now.
2019-02-04 00:41:14 +13:00
Campbell Barton
744f633986
Cleanup: trailing commas
...
Needed for clan-format not to wrap onto one line.
2019-02-03 14:59:11 +11:00
Campbell Barton
141c6073ca
WM: Event simulation support for Python
...
This feature is intended only for testing,
to automate simulating user input.
- Enabled by '--enable-event-simulate'.
- Disables handling all real input events.
- Access by calling `Window.event_simulate(..)`
- Disabling `bpy.app.use_event_simulate`
to allow handling real events (can only disable).
Currently only mouse & keyboard events work well,
NDOF, IME... etc could be added as needed.
See D4286 for example usage.
2019-02-02 15:23:55 +11:00
Campbell Barton
99b8eef6a5
BKE_global: clear deprecated flags on load (all of them)
2019-02-02 14:45:42 +11:00
Campbell Barton
d46c910b1a
Cleanup: match logic for merging G.f & G.fileflags on load
2019-02-02 14:01:48 +11:00
Campbell Barton
afcbf7cf13
Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflags
...
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-02 13:49:13 +11:00
Campbell Barton
a53011d520
Cleanup: use enum for BKE globals
2019-02-02 13:29:52 +11:00
Campbell Barton
4ef09cf937
Cleanup: remove author/date info from doxy headers
2019-02-02 11:58:24 +11:00
Brecht Van Lommel
9a63fa21eb
Color management: change view transform for color pickers and display modes.
...
* Use simple default view transform for color pickers, as Filmic does not work
well for all types of colors. We better handle this with an option and tagging
of colors as emissive or albedo like.
* For solid/workbench we also no longer use Filmic, as there is not enough contrast
and it's not really needed since this is not physically based lighting.
* For lookdev always take into account the view transform and look. Other view
settings like exposure are only taken into account if scene lighting is used,
since these are often dependent on scene light intensity.
Fixes T61022, T57649, T59363.
2019-02-01 20:56:42 +01:00
Bastien Montagne
81fc55f563
Fix T61010: Keying Set - Description edit box disabled, for internal use only.
...
Wrong property flag for that one, KeyingSet is a regular RNA class, not
a registrable 'interface' one, unlike KeyingSetInfo...
2019-02-01 20:35:33 +01:00
Brecht Van Lommel
f92b8c2613
Fix T58206: Eevee light energy soft maximum is too low.
2019-02-01 18:04:00 +01:00
Antonioya
530d9f454c
Cleanup: Remove manually missing original author
...
Name was part of the header GPL text.
2019-02-01 17:20:05 +01:00
Antonioya
b8e409ba98
GP: Cleanup retiming to do in same loop
2019-02-01 17:14:28 +01:00
Antonioya
fdc12395c3
Fix T61071: GP Cutter / Boxes bug
...
Now when remove points from a cyclic stroke, the last island is joined with first island in order to fill the gap of the cyclic.
This change affects not only to cutter, but to any delete process in cyclic strokes.
2019-02-01 16:50:49 +01:00
Campbell Barton
3b57a0d854
Cleanup: remove original author
...
Missed when removing contributors.
2019-02-02 02:32:20 +11:00
Jörg Müller
d9d72cc9cb
Fix T61043: Blender crashes on VSE zoom / scroll timeline sometimes
2019-02-01 15:58:27 +01:00
Campbell Barton
6cbb4c576a
Cleanup: manually remove header text not handled by automation
2019-02-02 01:49:31 +11:00
Sergey Sharybin
6bdbbcd683
Workaround for missing hair after opening the file
...
Restore reset on file open, at least for now.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
227ed1aa35
Fix T60451: Soft body cache not being cleared when it should
...
Manual edits to object or its dependencies should reset the
point cache. Added special relations for this now.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
97fa7974da
Cleanup: Shuffle arguments in most used order
...
Quite often we need to create nodes which defines various
evaluation stages.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
a1aa908a31
Depsgraph: Remove placeholder operation
2019-02-01 15:40:19 +01:00
Sergey Sharybin
039792caf3
Depsgraph: Use scene operation code
...
Hopefully, this is the last one.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
b78f29b049
Depsgraph: Use operation code for file cache update
...
All done in separate commits, so it's easier to bisect just in case.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
0d2dfd2e2d
Depsgraph: Use operation code for armature evaluation
2019-02-01 15:40:19 +01:00
Sergey Sharybin
4a30674102
Depsgraph: Use operation code for dupli-group
2019-02-01 15:40:19 +01:00
Sergey Sharybin
c1cf4c29da
Depsgraph: Use operation code for geometry evaluation done
2019-02-01 15:40:19 +01:00
Sergey Sharybin
a86001c56a
Depsgraph: Use operation code for geometry evaluation
...
Affects object data datablocks. Similar to previous commit.
Should not have any functional changes, just some sanitization
to make code more clear.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
700e3cc2a8
Depsgraph: Use operation code for geometry evaluation init
...
Makes it more explicit and avoids strings comparisons during build.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
6a54f3bb49
Depsgraph: More clear name for geometry evaluation
...
For ears it was already how we evaluate modifiers. There is no
need to go more granular than is actually needed. And no need
to use some obscure prefix for operation.
2019-02-01 15:40:19 +01:00
Sergey Sharybin
654ae4145f
Cleanup: Space for foreach macro
2019-02-01 15:40:19 +01:00
Sergey Sharybin
be05abc86a
Depsgraph: Add some sanity checks to ensure valid relations
2019-02-01 15:40:19 +01:00
Campbell Barton
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
Brecht Van Lommel
7b05b2564d
Fix T61088: Cycles particle viewport render stuck in loop.
...
Object to be instanced should not be modified.
2019-02-01 13:56:13 +01:00
Philipp Oeser
7f0e773dcd
'make links': rename group -> collection in enum in UI
...
also rename dupli -> instance
Fixes T61086
Reviewers: billreynish
Maniphest Tasks: T61086
Differential Revision: https://developer.blender.org/D4294
2019-02-01 10:58:12 +01:00
Campbell Barton
1b7c361fbb
WM: disable undo operators in background mode & at startup
...
Show an error instead of crashing, see: T60934
2019-02-01 14:11:26 +11:00
Campbell Barton
552b2287db
Logging: Use CLOG for blenkernel
...
Part of D4277 by @sobakasu
2019-02-01 12:46:39 +11:00
Campbell Barton
8a51af7d1c
Cleanup: correct doxy headers
2019-02-01 08:41:35 +11:00
Brecht Van Lommel
7b08c62841
Fix build errors on Visual Studio after recent changes.
...
SYNCHRONIZE is a Windows macro.
2019-01-31 19:59:13 +01:00
Brecht Van Lommel
8c2a978b03
UI: rename Free Bake to Delete Bake.
...
"Free" is more of a programming term related to memory allocation, not a term
we need to use in the interface. Ref T61054.
2019-01-31 19:49:47 +01:00
Brecht Van Lommel
27d799698d
Fix T61065: missing shader update when adding texture slot.
2019-01-31 19:33:38 +01:00
Brecht Van Lommel
78daa53e89
Fix T61072: missing viewport update when setting render border in image editor.
2019-01-31 18:01:47 +01:00
Brecht Van Lommel
a37e889aeb
Fix T61013: changing top/status bar editor type can be changed with shortcut.
2019-01-31 18:01:47 +01:00