Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-05-31 13:28:31 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-05-31 13:55:02 +0300
commit455e14eccd1c54e99114ee44553a96bfc57981ab (patch)
tree6c4c7e3b6ab6b6234c66a9d8926df7b1c3650a47 /source/blender/editors/sculpt_paint/sculpt_intern.h
parent23064248d7a08d01061e108972985a11997f046c (diff)
Fix T65200: Crash by hiting "tab" after sculpting with dyntopo
Make sure object is properly evaluated to the new state when it is expected to. Reviewers: brecht, mont29 Reviewed By: brecht Differential Revision: https://developer.blender.org/D4985
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index be4ab5809e4..b29ca1b4dd7 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -33,6 +33,7 @@
#include "BKE_pbvh.h"
+struct Main;
struct KeyBlock;
struct Object;
struct SculptOrigVertData;
@@ -58,7 +59,8 @@ void sculpt_dynamic_topology_enable_ex(struct Depsgraph *depsgraph,
struct Scene *scene,
struct Object *ob);
-void sculpt_dynamic_topology_disable_ex(struct Depsgraph *depsgraph,
+void sculpt_dynamic_topology_disable_ex(struct Main *bmain,
+ struct Depsgraph *depsgraph,
struct Scene *scene,
struct Object *ob,
struct SculptUndoNode *unode);