fix
parent
985e395beb
commit
e6ff824684
|
@ -500,11 +500,11 @@ def obj_layer_name_callback():
|
|||
return
|
||||
if not res.group('name'):
|
||||
return
|
||||
print('grp:', res.group('grp'))
|
||||
print('tag:', res.group('tag'))
|
||||
print('name:', res.group('name'))
|
||||
print('sfix:', res.group('sfix'))
|
||||
print('inc:', res.group('inc'))
|
||||
# print('grp:', res.group('grp'))
|
||||
# print('tag:', res.group('tag'))
|
||||
# print('name:', res.group('name'))
|
||||
# print('sfix:', res.group('sfix'))
|
||||
# print('inc:', res.group('inc'))
|
||||
bpy.context.scene.gptoolprops['layer_name'] = res.group('name')
|
||||
|
||||
@persistent
|
||||
|
@ -514,7 +514,7 @@ def subscribe_handler(dummy):
|
|||
key=subscribe_to,
|
||||
# owner of msgbus subcribe (for clearing later)
|
||||
# owner=handle,
|
||||
owner=bpy.types.GreasePencil, # <-- can atach to an ID during all it's lifetime...
|
||||
owner=bpy.types.GreasePencil, # <-- can attach to an ID during all it's lifetime...
|
||||
# Args passed to callback function (tuple)
|
||||
args=(),
|
||||
# Callback function for property update
|
||||
|
|
Loading…
Reference in New Issue