THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/11/2008 at 02:48, xxxxxxxx wrote:
Cinema 4D Version: 10.1
Platform: Windows ; Mac ;
Language(s) : C++ ;
I got two questions concerning a GvOperator plugin...
1. I created the node in XPresso, and it calculates fine. But it's always yellow (indicating an error). Why does Cinema seem to recognize an error, and how can I change this?
2. The node is not always correctly recalculated.
For example, I have a GVGENERALOBJECT input port. In the GvOperator, I look up the Type ID of the linked object. If it's a specific ID that I want, I output the linked object's name in - >GetText(GvNode *bn). If it's any other ID, I output "Wrong object". If nothing is linked, I output "Not connected". The recognition of the linked object is done in Calculate().
When I link any object to the node, it *mostly* reacts by outputting the object's name or "Wrong object" (depending on what kind of object was linked). But sometimes, the Calculate() function seems not to be called.
Help please! And thanks for any tipps!