make gui.property_browser() not only digest property paths, but
also props.Node class hashes
This commit is contained in:
parent
dae68bec13
commit
14a5f38be2
1 changed files with 2 additions and 0 deletions
|
@ -315,6 +315,8 @@ var FileSelector = {
|
|||
# Open property browser with given target path.
|
||||
#
|
||||
var property_browser = func(dir = "/") {
|
||||
if (isa(dir, props.Node))
|
||||
dir = dir.getPath();
|
||||
var dlgname = "property-browser";
|
||||
foreach (var module; keys(globals)) {
|
||||
if (find("__dlg:" ~ dlgname, module) == 0) {
|
||||
|
|
Loading…
Reference in a new issue