Sergey Sharybin
70382fe7b3
Topbar: Remove unused variable
2018-09-03 16:13:27 +02:00
Bastien Montagne
f922881620
Fix T56666: Crash typing "w" in the search function.
...
One shall check object is a GPencil one, before trying to use ob->data...
2018-09-03 16:06:56 +02:00
Sergey Sharybin
101b2ce7b6
Depsgraph: Cleanup, put symbols to a proper namespace
2018-09-03 16:05:41 +02:00
Dalai Felinto
eb2226dde2
Multi-Object Editing: MESH_OT_bridge_edge_loops by Philippe Bachour
...
I (Dalai) did a few changes before committing:
* Code style (mostly tabs instead of space).
* Skip loop when no vert selected.
* Keeping comment on why always return FINISHED.
Maniphest Tasks: T54643
https://developer.blender.org/D3338
2018-09-03 10:52:50 -03:00
Sergey Sharybin
2580399498
Fix T56593: Crash when enabling collection with curves
...
Was missing update of ID blocks which are becoming visible.
2018-09-03 15:36:20 +02:00
Bastien Montagne
30a2ad8efe
Merge branch 'master' into blender2.8
2018-09-03 15:33:07 +02:00
Dalai Felinto
3dee8b4a12
Multi-Objects: OBJECT_OT_vertex_group_smooth
...
In this case we call the operation multiple times.
2018-09-03 10:30:59 -03:00
Bastien Montagne
c6bbe6c5aa
Fix (unreported) potentially giant memory leak in Cloth collision solver.
...
Not freeing its BVHTree in case there were no collision objects,
could quickly lead to hundreds of MB of memleak!
2018-09-03 15:30:33 +02:00
Sergey Sharybin
d57cb8fa22
Depsgraph: Use more meaningful name for flags storage
2018-09-03 15:20:06 +02:00
Campbell Barton
e152483a32
Tool System: add paint brush shortcut
2018-09-03 23:19:27 +10:00
Clément Foucault
0a26c122ed
Eevee: Fix missing meshes on Win + Intel HD 530/540
...
This is only a workaround. The real issue should be adressed by the
driver team upstream.
2018-09-03 14:38:06 +02:00
Brecht Van Lommel
c6037b39a1
Fix slow .blend file load due to recent accidentally committed debug code.
2018-09-03 14:20:34 +02:00
Sergey Sharybin
cd693955ad
Set active base to NULL if its object is gone
2018-09-03 13:42:47 +02:00
Sergey Sharybin
3451cb56db
Depsgraph: Cleanup, make it more obvious what ID references
2018-09-03 12:57:04 +02:00
Sergey Sharybin
6690816fe5
Depsgraph: Cleanup, make it more clear what function does
2018-09-03 12:55:26 +02:00
Sergey Sharybin
6ba5dc9147
Depsgraph: Generalize storage for already existing ID nodes
...
Currently no functional changes, just allows to store mo information.
2018-09-03 12:39:56 +02:00
Sergey Sharybin
296a1afc0c
Cleanup: Remove unused lay_updated
...
Is no longer used, having it around was more of a confusion than
anything else.
2018-09-03 12:17:55 +02:00
Sergey Sharybin
73a474dd8b
Depsgraph: Cleanup, indentation level
2018-09-03 12:11:11 +02:00
Alex Fuller
107f1c0a2b
Fix Cycles half float pragma for strict OpenCL compilers (like ROCm).
...
Differential Revision: https://developer.blender.org/D3669
2018-09-03 12:03:56 +02:00
Bastien Montagne
cc03218962
Fix T56659: Flow UI: Checkboxes report wrong width, making layouts jump to multi-columns too soon.
...
Wrong handling of ideal width when splitting buttons and labels appart
for checkboxes...
2018-09-03 11:07:29 +02:00
Campbell Barton
4bfc236d39
Cleanup: warning
2018-09-03 18:24:45 +10:00
Antonioya
ff59553dc9
GP: Cleanup function parameter
...
There was a mix of enum parameters and int/bool values.
2018-09-03 10:14:13 +02:00
Campbell Barton
ad68470d44
Fix exception running toolbar w/o an active space
2018-09-03 14:22:58 +10:00
Campbell Barton
ba21c27e76
Cleanup: use single quotes for enum's
2018-09-03 14:15:18 +10:00
Campbell Barton
0be6146d26
UI: remove rotate/reverse UV's from menu
...
These are quite obscure operations and are already available in the
"Face Data" menu.
2018-09-03 14:03:32 +10:00
Campbell Barton
660477f4a4
UI: disable key shortcuts for tools
...
Only show shortcuts in the tooltips since they use different logic.
2018-09-03 13:56:33 +10:00
Campbell Barton
d015c1db3e
Cleanup: replace __import__ w/ import argument
2018-09-03 12:53:42 +10:00
Campbell Barton
88a893a838
Merge branch 'master' into blender2.8
2018-09-03 12:48:51 +10:00
Campbell Barton
7ff1750218
PyAPI: add optional imports to expression eval API
...
Avoids having to use `__import__` to access modules.
2018-09-03 12:43:43 +10:00
Campbell Barton
0c389862c4
Tool System: Show popup accelerators in tooltip
...
The tooltips for tools in the toolbar now show how to access.
2018-09-03 11:29:37 +10:00
Campbell Barton
0e09ee3350
Tool System: map keys bound directly to a tools
...
If a key is bound to activate a tool in the tool-system,
add this to the popup keymap.
2018-09-03 11:11:56 +10:00
Campbell Barton
4893b8c693
Fix toolbar popup outside the window region
2018-09-03 10:19:30 +10:00
Bastien Montagne
41f4d21079
Fix part of T56654: Freestyle hiding viewlayer buttons when there is no lineset.
...
Buttons' context 'path' has to bee handled carefully, especially when
building more than one step in a single call...
2018-09-02 15:30:06 +02:00
Campbell Barton
32e8f2e982
Keymap: Double tap A-Key to de-select all
...
Uses double click events for the keyboard, which wasn't used before.
Experimental feature suggested by @venomgfx
2018-09-02 21:41:30 +10:00
Campbell Barton
8c74462f18
Cleanup: move select all/none/invert into template
2018-09-02 21:25:14 +10:00
Campbell Barton
4e3457115c
UI: correct unintended space in string formatting
2018-09-02 20:05:45 +10:00
Campbell Barton
3cba77f16b
Merge branch 'master' into blender2.8
2018-09-02 19:45:56 +10:00
Campbell Barton
4bb8dba340
Cleanup: move keymap helpers into own file
2018-09-02 19:37:09 +10:00
Campbell Barton
127603f70e
Merge branch 'master' into blender2.8
2018-09-02 18:56:02 +10:00
Campbell Barton
0ddf3e110e
Cleanup: comment blocks
2018-09-02 18:51:31 +10:00
Campbell Barton
ae57383648
Cleanup: comment blocks
2018-09-02 18:28:27 +10:00
Campbell Barton
6abb37babc
Cleanup: style
2018-09-02 16:49:45 +10:00
Campbell Barton
83199b6430
Cleanup: shadow warning
2018-09-02 16:27:44 +10:00
Dalai Felinto
a5f950ed38
Fix MESH_OT_loop_select: Deselect object objects
...
Before that if you loop select a mesh, it would deselect the previous selected
edges of the selected mesh, leaving the other objects untouched.
2018-08-31 17:43:59 -03:00
Dalai Felinto
f6b902a9ca
Follow up to MESH_OT_offset_edge_loops
...
Committing this as a separate commit since we may want to keep this mode syncing
elsewhere. But for now it makes sense to do it like this.
2018-08-31 17:23:34 -03:00
milios
efd843b51c
Multi-Objects: MESH_OT_offset_edge_loops
...
Changes from reviewer (Dalai Felinto):
* Code style (replace tabs with spaces).
* Return OPERATOR_CANCELLED if no a single object get through.
Maniphest Tasks: T54643
https://developer.blender.org/D3392
2018-08-31 17:14:56 -03:00
Dalai Felinto
41759e74de
Fixup for MESH_OT_vertices_smooth_laplacian
...
Failing to repeat should return, but continue the object loop.
Should test for selected vertex, not face.
2018-08-31 17:02:37 -03:00
Dalai Felinto
3065dc435c
Fixup for multi-objects snap functions
...
Sanitizing the use of TransVertStore, making sure it is always freed.
Skip meshes with no vertex selected.
2018-08-31 16:46:16 -03:00
Dalai Felinto
0610c09f8c
Fix memleak on snap_curs_to_sel_ex
2018-08-31 16:25:37 -03:00
Dalai Felinto
b0c146a9eb
MESH_OT_symmetrize: Cleanup, get op->ptr props outside objects loop
2018-08-31 15:53:07 -03:00