Closed Sponge96 closed 7 months ago
Thank you! I have tested in my side and the workfile dialog can get the unsaved change when I adjust the scene without saving. I publish the scene with workfileAsset and it publishes successfully without bug. Only thing I encounter an error is when I launch 3dsmax with startup.ms, I already make comment on the maxscript(It is mainly because the comment isn't commented correctly)
Seems working fine...
The UI switched correctly to the
Create
tab and publishing working fine too.My only concern being, it always says "No unsaved changes, skipping file save..."
I simply couldnt force to perform Save action if any changes made to the active work file...
@moonyuet anything to add to it? maybe my expectations being wrong.
maybe we can error out the collector if there is unsaved change (similar to what we did in maya). Otherwise no debug message.
Seems working fine... The UI switched correctly to the
Create
tab and publishing working fine too. My only concern being, it always says "No unsaved changes, skipping file save..." I simply couldnt force to perform Save action if any changes made to the active work file...@moonyuet anything to add to it? maybe my expectations being wrong.
maybe we can error out the collector if there is unsaved change (similar to what we did in maya). Otherwise no debug message.
It should be printing INFO already, just tested again to be sure it's working as intended and all good on my end? I mirrored the logic that Houdini implementation currently uses, so if we do decide to tweak probably good to also do that.
Changelog Description
has_unsaved_changes
from Max host as it looks to have been unused and unimplemented.workfile_has_unsaved_changes
to Max host.save_scene
publish for Max.startup.ms
which opens the usual 'default' menu inside of Max (see screenshots).Current (Likely opens this menu due to one or more of the startup scripts used to insert OP menu):
New:
Additional info
It's my understanding that the
has_unsaved_changes
is now legacy so I have replaced and implemented it usingworkfile_has_unsaved_changes
.The change to the
startup.ms
is really just QOL for artists as the view it currently defaults to is not useful nor is it the usual default.Testing notes:
save_scene
is NOT saving if no changes to scene were made; or is saving when changes have been made (it should display INFO or DEBUG information in either case).