Stalkerx777 Posted November 18, 2016 Share Posted November 18, 2016 (edited) Hi there. Here is the deal. Suppose we have a SOP operator foo_x implemented as a DSO. At some point we decided to deprecate it in a favor of VEX version of it. As far as operator name and parameters interface are identical, i expected this to be an easy task. If i remove original foo_x dso from Houdini path and replace it with otl, existing hip files will pick up an otl version, however when scene loads, all foo_x operators become unlocked and empty inside! I didn't expect such behavior. Matching current definition helps, but this is not a solution. Any thoughts on that? If someone have experience in replacing an old operator of one type with a new one of different type(otl->vex, dso->vex, otl->dso) please share. Edited November 18, 2016 by Stalkerx777 Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted November 18, 2016 Author Share Posted November 18, 2016 For now i came up with OnLoaded event handler: for inst in kwargs['type'].instances(): inst.matchCurrentDefinition() I will report it as bug. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.