mitch.s Posted September 26, 2013 Report Share Posted September 26, 2013 FTrack UI update is somehow unreliable when publishing asset components sceneMBComponent = assetVersion.createComponent(name="MBScene", file = mc.file(q=1, sn=1)) Link to comment Share on other sites More sharing options...
Björn Rydahl Posted September 27, 2013 Report Share Posted September 27, 2013 Hi Mitch, do you mean then components tab in the sidebar? Will make sure it listens to new updates. Cheers Link to comment Share on other sites More sharing options...
mitch.s Posted September 27, 2013 Author Report Share Posted September 27, 2013 Yep Maybe I need to mention that the sidebar was already open when I launched the command.I had to reload (F5) a few times, open/close sidebar and clicked around. (I'm nervous by nature )Thought it was some crappy browser problem but as I was able to reproduce the error I decided to notify you guys. Link to comment Share on other sites More sharing options...
Björn Rydahl Posted September 27, 2013 Report Share Posted September 27, 2013 I believe the components tab does not listen to events correctly and will make that gets fixed asap. Cheers Link to comment Share on other sites More sharing options...
mitch.s Posted October 15, 2013 Author Report Share Posted October 15, 2013 The component was created before the asset and assetversion were explicitly published with asset.publish(). Once an asset(version) has been explicitly published, there's no problem creating a component.Also if you create components just after you created the asset/assetversion don't forget asset.publish(). Link to comment Share on other sites More sharing options...
Björn Rydahl Posted October 18, 2013 Report Share Posted October 18, 2013 Use version.publish() instead of asset.publish(), since it is actually the version you publish. asset.publish() is legacy and will succeed if used in the same scope (keeps a reference) as when the version was created, but could fail if called much later, since it would guess and publish the last created version. Will make sure we update our examples to be clear on this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.