On 13/04/2016 at 08:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;
---------
I need to allow user to select shader in description of TagData plugin. Right now, I have a simple
SHADERLINK MY_SHADER_LINK_ID { }
in my tmytag.res, nothing special in the code. When this is used from AM with only tag selected, everything works as expected, the problem is when I select object (camera in my case) with this tag attached and try to load texture from tag's tab - it won't load anything and, when started with attached debugger, C4D will break debugger with "CRITICAL: Stop" message (file common\basecontainer.cpp(444)).
Is this a bug? Or we shouldn't use SHADERLINK in tags?