From 169f8313940e826587fc50b3c4e3b082d15b51e5 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 17 Apr 2014 20:53:20 +0300 Subject: Make sure we invalidate the node ID layer each time the PBVH is reset. It makes code more tidy (avoids having to call invalidation on a myriad places). Also makes sure other invalidation cases (some mesh change, e.g.) work as expected. --- source/blender/editors/sculpt_paint/sculpt_intern.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h') diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 8cf5bf88bcc..a4d2f0dc057 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -48,7 +48,6 @@ struct MultiresModifierData; struct Object; struct Scene; struct Sculpt; -struct SculptSession; struct SculptStroke; struct SculptUndoNode; @@ -68,7 +67,6 @@ bool sculpt_stroke_get_location(bContext *C, float out[3], const float mouse[2]) /* Dynamic topology */ void sculpt_pbvh_clear(Object *ob); -void sculpt_dyntopo_node_layers_reset(struct SculptSession *ss); void sculpt_dyntopo_node_layers_add(struct SculptSession *ss); void sculpt_update_after_dynamic_topology_toggle(bContext *C); void sculpt_dynamic_topology_enable(struct bContext *C); -- cgit v1.2.3