60b9d413db
Pass copy flag to modifier copyData function
...
This will allow modifiers to decide whether to copy or share caches between
ModifierData copies.
2018-07-04 14:52:14 +02:00
0c94528829
Cleanup: naming in MOD_utils.
2018-06-29 19:02:19 +02:00
3bc21bc5f7
Cleanup: Moar DM busting, mostly cleaning up MOD_utils.
2018-06-29 18:58:13 +02:00
5ba87cf22e
Cleanup: remove another bunch of DM usages, includes etc.
2018-06-29 14:57:02 +02:00
18d87e79e9
Merge branch 'master' into blender2.8
2018-06-29 09:25:40 +02:00
b372766816
Cleanup: trailing newlines
2018-06-29 09:23:51 +02:00
b633d760a2
Cleanup: style
2018-06-27 22:32:52 +02:00
2c9b32949b
Cleanup: refactor depsgraph physics API functions.
2018-06-25 17:15:07 +02:00
a99dcab148
Depsgraph: cache collision relations, for performance and stability.
...
Same reasoning as effector relations in earlier commit.
2018-06-25 13:35:41 +02:00
f51661fb66
Cleanup: useless BKE_cdderivedmesh includes...
2018-06-22 15:52:14 +02:00
c850fcc2c0
Modifiers: port shapekey modifier, some cleanup.
2018-06-22 15:45:46 +02:00
97c99fb034
Modifiers: port UV_unwarp from DM to Mesh.
...
Pretty trivial...
2018-06-22 15:32:41 +02:00
3c828c29b3
Cleanup: unused value
2018-06-22 15:23:56 +02:00
a7ca8fe1dd
Modifiers: Remove lots of usages of md->scene
2018-06-22 15:12:03 +02:00
7a4b784909
Subsurf: Move away from using scene from modifier data
2018-06-22 15:12:03 +02:00
c2fa82e7a4
Multires: Move away from using scene from modifier data
2018-06-22 15:12:03 +02:00
6427141f7b
Modifiers: Stop using md->scene in isDisabled() callback
...
This is first commit in series of changes to get rid of md->scene.
2018-06-21 18:04:05 +02:00
318ad705ad
Cleanup: nuke useless BKE_DerivedMesh.h includes.
2018-06-21 16:45:54 +02:00
b80cce2053
Cleanup: names: data transfer/mesh remap: dm -> me/mesh.
...
That area is now officially purged from the Devil.. errr... DerivedMesh!
2018-06-21 15:33:10 +02:00
fffff5a993
Cleanup: nuke DM out of data transfer code.
...
This was actually rather hairy, this code is huge and complicated, easy
to make mistakes...
Good thing is, it will allow for significant simplification and more
(name) cleanup in following commits ;)
2018-06-21 15:33:10 +02:00
06a1a66a9b
Merge branch 'master' into blender2.8
2018-06-17 17:10:19 +02:00
1eed46c788
Cleanup: trailing space for modifiers
2018-06-17 17:04:27 +02:00
0b8c2eed75
Merge branch 'master' into blender28
2018-06-15 15:42:42 +02:00
b84fad2ba3
Fix T55490, intersect two triangles fails.
...
Need to use the 'use_partial_connect' option in island connect,
so changed signatures of various functions to pass that into and
then down from BM_mesh_intersect (making true for intersect, false
for boolean).
Then fix bm_face_split_edgenet_partial_connect to work when
input edges are not necessarily wire, but at least not in the
face they are being connected in. That caused generalization
of core BM_vert_separate_hflag_wire (which is only used in
this one place in all Blender).
2018-06-15 08:48:45 -04:00
4bf751be70
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/modifiers/intern/MOD_normal_edit.c
source/blender/windowmanager/intern/wm_files.c
2018-06-14 12:39:52 +02:00
0eb3246713
Fix T55470: Add option to not fix polygons' winding to Edit Normals modifier.
...
this is actually adding option to add buggy behavior, but.. NPR often
expects buggy behaviors, and its one of the main targets for normal editing.
So think it's reasonable to add that option (disabled by default of
course).
Note that am not really happy with UI, but:
* Not sure where to put it, it's kind of own self-contained area option.
* Don't to make it too much visible, using this should be the exception!
2018-06-14 11:41:12 +02:00
4943739b89
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenloader/intern/readfile.c
source/blender/editors/mesh/editmesh_utils.c
source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-13 16:42:56 +02:00
Dalai Felinto
c1e503e89a
Silence false positive warning on boolean modifier
2018-06-13 16:04:31 +02:00
d0956e9cb3
Cleanup: Moar G.main removal of Hell.
...
This commit actually adds some G.main... but at much, much higher level
than the ones it removes, so should still be better ;)
2018-06-11 12:15:14 +02:00
70f8eaf1b7
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/space_view3d/drawobject.c
2018-06-09 15:18:21 +02:00
638de72277
Cleanup: remove some G.main usages.
2018-06-09 15:17:04 +02:00
0c7fc3a961
Alembic import: assign cache_file handle to original datablock
2018-06-08 13:52:53 +02:00
5b0f96f97c
Alembic import: port DerivedMesh → Mesh
2018-06-07 10:48:52 +02:00
ba80d8440f
Cleanup: style
2018-06-06 22:17:06 +02:00
a9ed50514c
Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.h
2018-06-05 16:59:18 +02:00
bfe1d0e0dc
Merge branch 'master' into blender2.8
2018-06-01 18:26:42 +02:00
75fc1c3507
Cleanup: trailing whitespace (comment blocks)
...
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-06-01 18:19:39 +02:00
4fccb8a023
Boolean modifier: fixed crash when applying the modifier
2018-06-01 17:35:26 +02:00
719e782f2c
Modifiers: tiny optimizations for mesh deform, lattice, kdop.
2018-06-01 12:00:11 +02:00
0bddf5315f
Fix T55282: Modifiers: Removed unnecessary object evaluation
2018-06-01 11:50:53 +02:00
8f24d404fe
Removed old mention of CDDerivedMesh
2018-06-01 11:50:53 +02:00
c338ac9454
Modifiers: ported Soft Body DerivedMesh → Mesh
...
The simulation doesn't seem to update properly yet.
2018-06-01 10:04:46 +02:00
b809340960
Merge branch 'master' into blender2.8
...
Conflicts:
intern/cycles/blender/blender_curves.cpp
source/blender/blenkernel/BKE_particle.h
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/object_update.c
source/blender/blenkernel/intern/particle_system.c
source/blender/editors/object/object_modifier.c
source/blender/editors/physics/physics_fluid.c
source/blender/makesrna/intern/rna_particle.c
source/blender/modifiers/intern/MOD_particlesystem.c
2018-05-31 15:37:15 +02:00
b53d358261
Cleanup: remove G.main from BKE modifier.
2018-05-31 15:24:30 +02:00
28369f725c
Cleanup: remove G.main from BKE object
...
Had to add some G.main to modifiers, but in 2.8 we do not need that
anymore, so it's not that bad! ;)
2018-05-31 12:27:47 +02:00
1f693aefca
Cleanup: style/whitespace
...
Also use 'uint'.
2018-05-30 19:49:33 +02:00
7661f8a65b
Modifiers: Bring back custom data referencing logic
...
Brings dependency graph evaluation time to similar time than 2.79
for file reported in T55228.
2018-05-30 17:00:47 +02:00
25d4d43491
Modifiers: Restore duplication of referenced layers
...
Was no reason to remove those calls, it was always a plan to bring
referenced layers back eventually.
2018-05-30 17:00:47 +02:00
292125bfd3
Fix broken meshdeform modifier after recent cleanup.
2018-05-30 14:02:28 +02:00
72f4ac99c7
Cleanup/fix wrong modifiers targets handling in COW context.
...
Modifiers stack only get COW/evaluated IDs, so no need to go auery again
DEG for those. Further more, now unified handling of EditBMesh case (was
done on case-by-case basis in a few modifiers, not all for some reason).
We are still missing the ability to get final and cage deformed meshes
when in Edit mode though, this is to be defined/implemented in depsgraph.
2018-05-30 12:04:06 +02:00