-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix/obj setting #181
Fix/obj setting #181
Conversation
The modified obj attributes are able to save to scene, but there is a problem to load the color attribute from scene, we can fo it in another PR |
This PR is now mixed with fixing the layout of object settings, and implementation of |
Yes, but the ability to open ObjectSetting from Sceneform selection will not be available for now(just a heads up). |
8942580
to
51d455f
Compare
How about add the object settings cmd as callback function in the config of {
"type": "Sceneform",
"columns": [
{"title": "Name", "type": "label", "text": lambda obj: obj.name},
{"title": "Show", "type": "checkbox", "checked": lambda obj: obj.show, "action": lambda obj, checked: setattr(obj, "show", checked)},
],
"on_select": obj_settings_cmd # something like this
}, |
yes on it! |
Just realized there was already a |
regarding your first point @Licini |
Hi @Licini and @tomvanmele this PR is ready! |
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.
Looking much better! but still plz make the changes mentioned above
one more question, how do you disable the object settings? |
Thanks @PingHsunTsai ! Merging Finally! |
What type of change is this?
#183
DefaultLayout
to handle gernerallayout
setting to minimal.TextEdit
to handlename
change.Observer
to handleis_selected
state update or more.