Warn on invalid logic tree name
This commit is contained in:
parent
fa583dc361
commit
aecbbac32e
|
@ -2437,6 +2437,8 @@ class ArmoryExporter:
|
|||
if t.type_prop == 'Logic Nodes' and t.nodes_name_prop != '':
|
||||
x['type'] = 'Script'
|
||||
x['class_name'] = arm.utils.safestr(bpy.data.worlds['Arm'].arm_project_package) + '.node.' + arm.utils.safesrc(t.nodes_name_prop)
|
||||
if len(t.nodes_name_prop) > 0 and not t.nodes_name_prop[0].isupper():
|
||||
log.warn('Logic tree name "' + t.nodes_name_prop + '" must start with upper-case letter')
|
||||
elif t.type_prop == 'WebAssembly':
|
||||
pass
|
||||
elif t.type_prop == 'UI Canvas':
|
||||
|
|
Loading…
Reference in a new issue