No UI.hide_inspector ?
-
Nothing to accompany
UI.show_inspector
? -
Sadly not. If there were then hiding the Outliner to avoid Bugsplats when using group intensive scripting etc would be a lot easier...
-
I really wonder about the API implementation some times...
No Yang to complement the Ying?The logic here? Gone like the wind...
-
Yet we get
hidden
andvisible
when one would suffice -
-
I think show_inspector will show them if they are not open, and toggle them into the "shaded" state, if they are already open.
-
@jim said:
I think show_inspector will show them if they are not open, and toggle them into the "shaded" state, if they are already open.
But no way of knowing if they are shaded..?
-
Not that I know of.
-
What we have is something that opens it and might shade it if it's already open, but we have no way of knowing this
!
So what we NEED is
UI.show_inspector(its_name,true) UI.show_inspector(its_name,false)
that opens and closes them by name
AND
UI.shade_inspector(its_name,true) UI.shade_inspector(its_name,false)
that rolls them up into the top bar and down again, by name
This isn't the proverbial rocket science and it should be in the API with lots of other missing pieces...
Of course Jim'stoggleWindows.rb
works on PC only and will toggle the Outliner window up if it's down etc... -
Make sure to add it tot he feature request someone. They are responsive to requests and they like to be able to track them.
Chris
Advertisement