[Bf-committers] Sculpt Mask Data (lazy initialize?)

Campbell Barton ideasman42 at gmail.com
Fri Sep 21 10:01:18 CEST 2012


This mail is mostly for Nicholas Bishop but others may have input,

The other day I noticed the default cube had a mask vertex layer -
this isnt so bad - only storing one extra float per vertex - but seems
unnecessary.

There are some other data layers that the user had no way to remove
(skin and sticky), now theres a panel "Geometry Data" - where layers
can be cleared,
(note - unlike UVs and VColors - these layer types are singletons - a
mesh can only have one of each - so the UI is different).

... back to the point of the mail...

At the moment just entering sculpt mode will add sculpt-mask data
layer to the mesh verts, and be saved, and get stored in every undo
step... etc.

Id prefer this was lazy initialized - so only when using the mask
brush it gets added, any reason not to do this?

-- 
- Campbell


More information about the Bf-committers mailing list