Campbell Barton
df10a2e030
Cleanup: style
2018-05-11 07:47:25 +02:00
Campbell Barton
83a83a3d4b
Cleanup: whitespace, duplicate includes
2018-05-11 07:43:20 +02:00
Campbell Barton
8c96cb55c3
Fix add-manipulator cursor plane calculation
...
Now use the closest plane facing the view z axis.
2018-05-10 23:06:55 +02:00
Campbell Barton
be1af8d44c
Fix error building
2018-05-10 21:43:15 +02:00
Germano
66636e665b
Cleanup: Remove redundant parameter.
2018-05-10 16:32:13 -03:00
Germano
15580470fd
Paint Stroke: Fix strokes drawing.
2018-05-10 16:29:14 -03:00
Campbell Barton
3f3326af1c
EditMesh: add cube interactive tool
...
Initial add-cube tool which uses the scale cage to resize.
The 3D cursor is currently used to project the cursor onto.
We'll likely have more orientation options in the future.
2018-05-10 20:31:10 +02:00
Campbell Barton
4332edcc3e
Cleanup: warning
2018-05-10 20:31:10 +02:00
Pablo Vazquez
d6a7491e78
Make current frame indicator smaller with rounded corners.
...
Reviewed by Joshua Leung
2018-05-10 19:42:21 +02:00
Joshua Leung
5df0fed47c
Timeline Header Cleanup - Part 3: Consolidate options in a "Playback" popover
...
The "Playback" popover now combines options from several old menus
and scattered around in other places.
2018-05-10 19:28:37 +02:00
Campbell Barton
e4c7cef748
Cleanup: warnings
2018-05-10 19:10:16 +02:00
Campbell Barton
334b1cf92f
Cleanup: warnings
2018-05-10 19:07:03 +02:00
Germano
55389d4899
Transform: Make snapDerivedMesh use bvhtrees from loose edges and bvhtrees from loose verts.
...
Bvhtrees take up a lot of memory space, reusing the common bvhtree of looptris to snap to vertices and edges is a good way to save memory.
Unfortunately we have a worsening performance in the snapping operation around 63% (addition to the original time).
But as we often do not need to build a bvhtree of loose verts and loose edges, we have an improvement in cache time :)
Since the CPU time of snapping operations (no matter how higth poly the object is) corresponds to less than 0.01% of all CPU time of a blender frame, that change is not really significant.
Snapping operations on a mesh in edit mode have not changed significantly.
Signed-off-by: Germano <germano.costa@ig.com.br >
2018-05-10 13:40:30 -03:00
Germano
a35b9cc302
BKE: bvhutils: Added support for bvhtrees from loose verts and bvhtree from loose edges
2018-05-10 13:35:48 -03:00
Joshua Leung
be400a0789
UI: Fix time cursor number box styling for Clip Editor's Dopesheet/Graph views
2018-05-10 17:56:12 +02:00
Bastien Montagne
c20cc3cf14
Merge branch 'master' into blender2.8
2018-05-10 14:27:24 +02:00
Campbell Barton
27da2db0ca
3D View: utility to get matrix from cursor
2018-05-10 12:24:07 +02:00
Campbell Barton
e6814acf13
Manipulator: API call to invoke on setup
...
Needed for manipulators that start out interactive,
similar use-case to modal operators, except these can be tweaked after.
2018-05-09 22:43:24 +02:00
Campbell Barton
80c9cd13da
Manipulator: support direct cage3d adjustment
...
Scale cage relied on transform code,
this adds support for the manipulator corners being modified directly.
2018-05-09 22:37:09 +02:00
Germano
d824c80e9f
Cleanup: Remove redundant bvh_cache initialization.
2018-05-09 13:28:59 -03:00
Sergey Sharybin
37cec42e3d
Clay: Cleanup, reduce indentation level
2018-05-09 16:45:04 +02:00
Sergey Sharybin
2d5fe40601
Eevee: Cleanup, use NULL instead of static matrix
...
Those are the same thing now. So no need to keep initializing matrix
over and over.
2018-05-09 16:42:15 +02:00
Sergey Sharybin
cb747302dc
Correct previous commit
2018-05-09 16:38:38 +02:00
Sergey Sharybin
734a232b39
Eevee: Cleanup, reduce indentation level
2018-05-09 16:36:09 +02:00
Sergey Sharybin
51445f42ac
Workbench: Make hair populating function shorter and nicer
2018-05-09 16:21:24 +02:00
Sergey Sharybin
dda7b82dd7
Depsgraph: Tag object for copy-on-write update when toggling particle edit mode
2018-05-09 16:21:24 +02:00
Sergey Sharybin
5d71399c04
Depsgraph: Remove particle edit code from evaluation
...
Everything seems to be working without this, which makes since there is no
evaluation-time edit code in master. The only tricky part here would be that
this means we might want to ensure edit structure exists from inside particle
mode in draw manager.
Other point for not having this code in evaluation is that it's possible to
have same object evaluated in different contexts at the same time, and since
edit structures are supposed to be in original object we might run into
threading conflict.
2018-05-09 16:21:24 +02:00
Sergey Sharybin
c7ef9969b9
Particle edit mode: Make selection settings to work with CoW
2018-05-09 16:21:24 +02:00
Dalai Felinto
1ce1ae3d32
Rename: RNA_property_override_status > RNA_property_static_override_status
2018-05-09 16:18:02 +02:00
Christian Hubert
c67a0580fc
Modifiers: ported Triangulate DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3237
2018-05-09 16:14:22 +02:00
Dalai Felinto
828a3d89b3
Fix T55015: Crash on selection after recent BVH changes
...
Runtime data should always be initialized to NULL on read-time.
2018-05-09 15:53:16 +02:00
Bastien Montagne
0385b33f0b
Fix broken 'check/validate libs' code with indirect libs.
...
Readcode always set relative paths of indirectly linked libs relative to
*current* .blend file, not to the library using it.
But BKE_library_filepath_set was then setting them relative to their
parent library, breaking checking code (and saved files even :((( ).
2018-05-09 15:52:29 +02:00
Christian Hubert
ed23bd5f3c
Modifiers: ported Boolean DerivedMesh → Mesh
...
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3236
2018-05-09 15:49:55 +02:00
Sybren A. Stüvel
8b4127abda
Expanded BMALLOC_TEMPLATE_FROM_ME to accept two meshes
2018-05-09 15:44:49 +02:00
Brecht Van Lommel
03fc491048
Outliner: move filter options to popover.
2018-05-09 15:17:17 +02:00
Jeroen Bakker
d3b80c4734
T55014: Optionally: objects not cast shadows in workbench
2018-05-09 15:14:43 +02:00
Philipp Oeser
e8d9b7c954
Merge branch 'master' into blender2.8
2018-05-09 15:08:13 +02:00
Sergey Sharybin
6f891e2b87
Draw manager: Implement point selection modes for particle edit mode
2018-05-09 15:00:29 +02:00
Sergey Sharybin
5cea8bf435
Draw manager: Initial implementation of key points visualization
...
Does all points all the time, ignoring the setting in viewport header.
This is to be addressed by the next commit.
2018-05-09 14:59:48 +02:00
Sergey Sharybin
033c2c7131
Draw manager: Start using more explicit API for particle edit mode
2018-05-09 14:59:48 +02:00
Christian Hubert
65b0d31eb8
Modifiers: ported Hook DerivedMesh → Mesh
...
Differential Revision: https://developer.blender.org/D3235
2018-05-09 14:45:27 +02:00
Philipp Oeser
69f2305415
Fix T54992: Lattice modifier on another Lattice object does not take the
...
Influence vertexgroup into account
2018-05-09 14:41:25 +02:00
Sybren A. Stüvel
0353ff5d2f
BKE_id_free(): avoid UI and DEG calls when tagged with LIB_TAG_NO_MAIN
...
This prevents threading issues & crashes from modifiers that create
temporary meshes.
2018-05-09 14:40:03 +02:00
Philipp Oeser
03abe89661
Merge branch 'master' into blender2.8
2018-05-09 14:37:25 +02:00
Campbell Barton
b73c7381cc
EditMesh: multi-edit merge
...
D3226 by @pragma37
Note: edited so first/last option only applies to active mesh
since this doesn't make much sense to apply across objects.
2018-05-09 14:34:06 +02:00
Philipp Oeser
34c474e695
Fix T54997: simple typo in property description
2018-05-09 14:26:47 +02:00
Campbell Barton
e65a2cb52c
Fix crash moving grease pencil frames
2018-05-09 14:09:05 +02:00
Campbell Barton
5173861766
Cleanup: unused vars
2018-05-09 14:08:56 +02:00
Campbell Barton
5de2cd8ca7
Cleanup: quiet shadow warning
2018-05-09 13:53:01 +02:00
Dalai Felinto
e42b8c32ab
Multi-object edit: MESH_OT_beautify_fill by Remi van der Laan
...
Maniphest Tasks: T54643, T54641
Differential Revision: https://developer.blender.org/D3291
2018-05-09 13:48:01 +02:00