On 17/06/2017 at 09:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 18
Platform: Windows ;
Language(s) : C++ ;
---------
I am trying to write a simple object plugin. My problem is that the object of my plugin it always has the shader GUI. I have very carefully put an *.res and *.h file into \res\description. But it does not matter what I write into it. Actually if I delete the file altogether, I still get the same shader GUI. I also have checked multiple times that the string of RegisterObjectPlugin's "description" parameter matches the filename.
In the console of C4D I get an error that says "Description Error: OMyPluginTest is already registered". This does not make any sense to me, since there is no other plugin with that name. Also the message corresponds to what I write into the "description" parameter, and it seems I can put essentially any random name there and I still get the same message.
I am completely clueless where the error as well as the shader GUI comes from.
Thanks for your help.