FIXED: Cplusplus Chop Sop parameter

Hi,
I’m trying to use a sop parameter on a Cplusplus Chop but once i set a value on that parameter touch tell me that it detect a Cook dependency loop.

I took the CPlusPlusChopExample and added these lines

in the CPlusPlusCHOPExample::setupParameters member function

        // sop 
	{
		OP_StringParameter sopp;

		sopp.name = "Geo";
		sopp.label = "Geo";

		OP_ParAppendResult res = manager->appendSOP(sopp);
		assert(res == OP_ParAppendResult::Success);
	}

in the CPlusPlusCHOPExample::execute member function

const OP_SOPInput* inputGeo =  inputs->getParSOP("Geo");

Am i doing something wrong?

Touchdesigner 2018.25000 on windows 10

Cheers,
Colas

Yeah ,that’s weird.
Why reference cause loop dependency thing ?

And the OP_SOPInput that’s returned by inputs->getParSOP and inputs->getSOP doesn’t contains any data only inputs->getInputSOP on a Cplusplus Sop is working.

This issue will be fixed in our next posted build (2018.25780+). Let me know if you still see the issue (after you update your build). Thanks for reporting this!

Nice thanks a lot!

For the moment i’m using a workaround by using a sopToChop and the sopToDat set to primitive that i feed to a chop and dat parameter on my Chop.

Hi,
That bug is fixed in version 2018.25850.
Cheers,
Colas