Initial Grease Pencil 3.0 stage #106848
|
@ -594,7 +594,8 @@ namespace blender::bke {
|
|||
GreasePencilRuntime::GreasePencilRuntime(const GreasePencilRuntime &other)
|
||||
: root_group_(other.root_group_), active_layer_index_(other.active_layer_index_)
|
||||
{
|
||||
layer_cache_ = other.layer_cache_;
|
||||
/* We cannot copy this cache, because the pointers in that cache become invalid. */
|
||||
|
||||
layer_cache_.tag_dirty();
|
||||
}
|
||||
|
||||
const greasepencil::LayerGroup &GreasePencilRuntime::root_group() const
|
||||
|
|
Loading…
Reference in New Issue
It probably shouldn't be a
SharedCache
then. Either that or it should cache indices rather than pointers?Ah yes, I don't see a way it can be a shared cache then.