show model usage info where models are used
This commit is contained in:
@@ -344,6 +344,12 @@ menuinit [
|
||||
push __distribution (getmapmodelattributes (mapmodelslotname $__mmslot) distribution)
|
||||
if (! (strlen $__distribution)) [ __distribution = "custom/unsorted" ]
|
||||
menuitem (concat "Distribution:" (pop __distribution)) -1
|
||||
looplist [defaults "Defaults:" usage "Usage:" license "License:" version "Version:"] [attr hd] [ // also possible: desc "Desc:" author "Author:"
|
||||
attr = (getmapmodelattributes (mapmodelslotname $__mmslot) $attr)
|
||||
if (strlen $attr) [
|
||||
menuitem (concat $hd $attr) -1
|
||||
]
|
||||
]
|
||||
menuitem "" -1
|
||||
menuitemtextinput "Mapmodel path " (concat result (at $info 4)) [editmapmodelslot $__mmslot "" "" "" "" $arg1] "" 250
|
||||
if (&& (strlen $__lastwatchedmapmodel) (! (strcmp $__lastwatchedmapmodel (at $info 4)))) [
|
||||
|
||||
Reference in New Issue
Block a user