diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 04:20:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-19 07:54:06 +0300 |
commit | 7f65ab86e59f25e718213287273705cfd34e1746 (patch) | |
tree | 159ecb2d3d1fa4dbdc23f1da6df24879bcbda2ec /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 1beb6b43c162f657607b49df9d583b38a160d683 (diff) |
Cleanup: sync vertex-paint and sculpt from 2.8
Sync API changes from 2.8 to master.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 5fb9eee805f..cf1937f14d4 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -60,10 +60,16 @@ bool sculpt_stroke_get_location(struct bContext *C, float out[3], const float mo /* Dynamic topology */ void sculpt_pbvh_clear(Object *ob); void sculpt_dyntopo_node_layers_add(struct SculptSession *ss); -void sculpt_update_after_dynamic_topology_toggle(struct bContext *C); -void sculpt_dynamic_topology_enable(struct bContext *C); -void sculpt_dynamic_topology_disable(struct bContext *C, - struct SculptUndoNode *unode); +void sculpt_update_after_dynamic_topology_toggle( + struct Scene *scene, struct Object *ob); +void sculpt_dynamic_topology_enable_ex( + struct Scene *scene, struct Object *ob); +void sculpt_dynamic_topology_enable(bContext *C); + +void sculpt_dynamic_topology_disable_ex( + struct Scene *scene, struct Object *ob, + struct SculptUndoNode *unode); +void sculpt_dynamic_topology_disable(bContext *C, struct SculptUndoNode *unode); /* Undo */ @@ -342,7 +348,7 @@ void sculpt_cache_free(StrokeCache *cache); SculptUndoNode *sculpt_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType type); SculptUndoNode *sculpt_undo_get_node(PBVHNode *node); void sculpt_undo_push_begin(const char *name); -void sculpt_undo_push_end(const struct bContext *C); +void sculpt_undo_push_end(void); void sculpt_vertcos_to_key(Object *ob, KeyBlock *kb, float (*vertCos)[3]); |