Fix error with object_creaprim handler being lost

This wasn't set as persistent, causing unregistration to fail.
This commit is contained in:
Campbell Barton
2021-08-03 09:34:16 +10:00
parent 32040a4a0c
commit 98f6085e9d

View File

@ -465,6 +465,7 @@ def makeinit(txtlist, namelist, groupname, addondir):
fileobj.close()
@bpy.app.handlers.persistent
def setname(dummy):
scn = bpy.context.scene