On 09/05/2015 at 04:55, xxxxxxxx wrote:
Cinema 4D Version: 16.050
Platform: Windows ; Mac OSX ;
there is a mix up of function members in InitTool after reloading Python plugins.
If one opens c4d everything works fine, but after reloading Python plugins,
for the data member one gets the current document and vice versa.
Start c4d, write these lines into the LiquidTool class inside the liquid painter example and reload the plugin.
def InitTool(self, doc, data, bt) :
print data, "should be a BaseContainer"
print doc, "should be the current document"
Is this a bug with the reload python plugins command?
On 11/05/2015 at 08:47, xxxxxxxx wrote:
I confirm this is a bug reloading ToolData plugins and InitTool() overloaded method parameters. Sorry for the inconvenience caused. This issue will be fixed.
On 11/05/2015 at 12:49, xxxxxxxx wrote:
thanks for the confirmation.