feat: prevent updates in sclupt mode
This commit is contained in:
parent
e9b4afb440
commit
699cf578e2
@ -193,7 +193,7 @@ class BlMesh(ReplicatedDatablock):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def needs_update(datablock: object, data: dict) -> bool:
|
def needs_update(datablock: object, data: dict) -> bool:
|
||||||
return 'EDIT' not in bpy.context.mode \
|
return ('EDIT' not in bpy.context.mode and bpy.context.mode != 'SCULPT') \
|
||||||
or get_preferences().sync_flags.sync_during_editmode
|
or get_preferences().sync_flags.sync_during_editmode
|
||||||
|
|
||||||
_type = bpy.types.Mesh
|
_type = bpy.types.Mesh
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit dd15f6eae0d0eb71e09bc76e837848c70c5357c0
|
Subproject commit f0745647e08406e46074d555e12a612e95c87aa1
|
Loading…
Reference in New Issue
Block a user