Bastien Montagne
b26c9dfcb2
Cleanup: initial regrouping of ID create/copy flags.
...
Those two first sets of flags should represent some common use cases.
The goal here is to reduce verbosity of calls to BKE_id_copy_ex, and
help make it more obvious the 'common behaviours' of ID copying across
codebase.
2019-02-05 09:49:50 +01:00
Bastien Montagne
8ebb8add85
Cleanup: comments before items in enums.
2019-02-05 09:49:50 +01:00
Bastien Montagne
6a686b0bfb
Cleanup: BKE_library: rename id_copy to BKE_id_copy.
...
Time to follow conventions for that one as well.
2019-02-05 09:49:50 +01:00
Bastien Montagne
7636e9785d
Cleanup: BKE_library: remove 'test' param of id_copy.
...
This was used in *one* place only... much better to have a dedicated
helper for that kind of things. ;)
2019-02-05 09:49:50 +01:00
Campbell Barton
999f3985c0
Fix T61107: wmGizmo.test_select can't return -1
...
This is used to skip selection.
2019-02-05 18:39:57 +11:00
Campbell Barton
af2d2d4dff
Fix T58221: Spin tool w/ merge first/last crashes
...
Spinning geometry that included non boundary/wire edges
crashed when merge first/last enabled.
2019-02-05 13:30:07 +11:00
Campbell Barton
445433a691
Fix empty object front/back display in perspective views
2019-02-05 10:43:16 +11:00
Campbell Barton
2c84c23a07
Fix T61163: Single sided images show when viewed from side
2019-02-05 10:29:19 +11:00
Campbell Barton
40f2afcf1d
Cleanup: remove contributors for Python files
...
Following removal from C source code.
See: 8c68ed6df1
2019-02-05 09:17:00 +11:00
Campbell Barton
ab5e69e660
Cleanup: remove contributors for CMake files
...
Following removal from C source code.
See: 8c68ed6df1
2019-02-05 09:10:32 +11:00
Sergey Sharybin
38984b10ff
T61148: Particle properties can not be edited after keyframing
...
Was happening with certain settings for hair. Need to make a copy
of particle settings before modifying them via animation system.
2019-02-04 14:09:22 +01:00
Campbell Barton
ff2dd59d4a
PyAPI: use _PyObject_LookupAttr
...
Unlike PyObject_GetAttr, this avoids setting the attribute error
only to clear it - under some conditions.
2019-02-04 23:35:23 +11:00
Campbell Barton
7e358b6181
Python: bump minimum version to 3.7
...
All platforms use 3.7 now, supporting both increases chance some scripts
will fail on older versions.
2019-02-04 22:00:30 +11:00
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
d70350403f
Cleanup: manually remove header text not handled by automation
2019-02-02 02:41:25 +11:00
Campbell Barton
8c68ed6df1
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 02:40:00 +11: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