Move all of the parameters of the Root SimObject so they are
directly configured by python. Move stuff from root.(cc|hh) to core.(cc|hh) since it really belogs there now. In the process, simplify how ticks are used in the python code. --HG-- extra : convert_revision : cf82ee1ea20f9343924f30bacc2a38d4edee8df3
This commit is contained in:
@@ -188,6 +188,7 @@ def parse_args():
|
||||
|
||||
def main():
|
||||
import defines
|
||||
import event
|
||||
import info
|
||||
import internal
|
||||
|
||||
@@ -295,7 +296,7 @@ def main():
|
||||
if options.trace_start:
|
||||
def enable_trace():
|
||||
internal.trace.cvar.enabled = True
|
||||
internal.event.create(enable_trace, int(options.trace_start))
|
||||
event.create(enable_trace, int(options.trace_start))
|
||||
else:
|
||||
internal.trace.cvar.enabled = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user