Page 1 of 1

Incorrect Error Reporting with Relative Processes [FIXED]

Posted: Tue Sep 22, 2015 11:34 am
by ppautler
This is a bug that I've noticed when you use 'get_relative_process' to run a script from another process. If the original (source) process errors, the error indicator will still show up as green, not red. Essentially this is a false positive, and can be misleading.

Here's an example of code that uses 'get_relative_process.'


from vtool.maya_lib import util

def main():

script_name = 'create_test_rig'

rel_process = process.get_relative_process('../../chr_default_biped/body')
code_file_path = rel_process.get_code_file(script_name)

rel_process.run_script(code_file_path)

Re: Incorrect Error Reporting with Relative Processes

Posted: Tue Sep 22, 2015 2:34 pm
by louisVottero
This is now fixed. Should get published tomorrow.