-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor: Update Spine plugin with GUI template layout changes #192
Conversation
:spine-bones (s/maybe {s/Keyword s/Any}) | ||
:spine-scene-scene (s/maybe {s/Keyword s/Any}) | ||
:spine-scene-pb (s/maybe {s/Keyword s/Any})}}) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are already defined in editor.gui
.
(for [[name path] spine-scene-name+paths] | ||
(let [spine-scene-resource (workspace/resolve-resource resource path)] | ||
(g/make-nodes graph-id [spine-scene [SpineSceneNode :name name :spine-scene spine-scene-resource]] | ||
(attach-spine-scene self spine-scenes-node spine-scene))))))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation + unified code paths for old-spine-scenes
and new-spine-scenes
. Removed remnant use of (g/declared-property-labels gui/ResourceNode)
.
@@ -369,8 +370,7 @@ | |||
:custom-type 0 | |||
:output-node-type (:node-type info) | |||
:output-custom-type (:custom-type info) | |||
:deprecated true | |||
:defaults gui/visual-base-node-defaults})] | |||
:deprecated true})] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup: :defaults
is already in info
.
c2c1fcd
to
81d6e79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Updated editor plugin with corresponding changes from defold/defold#9884.