Blender Git Loki

Git Commits -> Revision 20f7aaf

Revision 20f7aaf by Antonis Ryakiotakis (master)
May 6, 2014, 20:44 (GMT)
Fix issue discovered while investigating T39950:

Sculpt mode drawing fails after deleting a subsurf modifier
in sculpt mode and undoing.

This was quite difficult to spot. Main cause was that mesh data was not
synchronized properly between undo and sculpt code because we generated
a pbvh on derivedmesh invalidation without really refreshing the rest of
the data. This could result in undo and drawing operating on different
data.

To solve this and avoid bad level calls I had to move quite some code
around. Crazyspace is now moved to blenkernel, as did some sculpt calls
that make sure sculpt data are properly refreshed.

Commit Details:

Full Hash: 20f7aaf6be0dc186f6551761693133bb562a5be1
Parent Commit: af704c6
Lines Changed: +762, -704

2 Added Paths:

/source/blender/blenkernel/BKE_crazyspace.h (+54, -0) (View)
/source/blender/blenkernel/intern/crazyspace.c (+448, -0) (View)

1 Deleted Path:

/source/blender/editors/util/crazyspace.c (+0, -449)

11 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+11, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+3, -1) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/paint.c (+241, -0) (Diff)
/source/blender/editors/include/ED_sculpt.h (+0, -7) (Diff)
/source/blender/editors/include/ED_util.h (+0, -8) (Diff)
/source/blender/editors/object/object_modifier.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -230) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+0, -5) (Diff)
/source/blender/editors/transform/transform_conversions.c (+1, -1) (Diff)
/source/blender/editors/util/CMakeLists.txt (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021