fix: crash on object dumping
This commit is contained in:
@ -560,11 +560,11 @@ def depsgraph_update(scene):
|
||||
if update.id.id == username or update.id.id == 'Common' or update.id.id == 'None':
|
||||
# TODO: handle errors
|
||||
data_ref = get_datablock(update,context)
|
||||
|
||||
logger.info(update.id.name)
|
||||
if data_ref:
|
||||
data_ref.is_dirty= True
|
||||
elif update.id.id != username:
|
||||
history.put("undo")
|
||||
# elif update.id.id != username:
|
||||
# history.put("undo")
|
||||
|
||||
|
||||
def register():
|
||||
|
Reference in New Issue
Block a user