2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:47:43 +00:00

Add FRME widget properites to panel UI

This commit is contained in:
Jack Andersen
2017-01-13 18:15:43 -10:00
parent 96cda71325
commit 37b556f2c4
4 changed files with 169 additions and 5 deletions

View File

@@ -107,8 +107,13 @@ def read_cmdargs():
def exec_compbuf(compbuf, globals):
if verbosity_level >= 3:
print('EXEC', compbuf)
co = compile(compbuf, '<HECL>', 'exec')
exec(co, globals)
try:
co = compile(compbuf, '<HECL>', 'exec')
exec(co, globals)
except Exception as e:
trace_prefix = 'Error processing:\n'
trace_prefix += compbuf
raise RuntimeError(trace_prefix) from e
# Command loop for writing animation key data to blender
def animin_loop(globals):