register rand_color for use in console
This commit is contained in:
@@ -299,6 +299,7 @@ class MainWindow(QMainWindow,MainMixin):
|
||||
#CQ related items
|
||||
console.push_vars({'show' : obj_tree.addObject,
|
||||
'show_object' : obj_tree.addObject,
|
||||
'rand_color' : self.components['debugger']._rand_color,
|
||||
'cq' : cq,
|
||||
'log' : Logger(self.name).info})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user