On 02/04/2018 at 02:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
---------
Hello.
I have a light object and I set its parameters using its BaseContainer*, which I access via GetDataInstance.
For example, I use SetInt32 to set its LIGHT_TYPE parameter.
I have applied a TagData plugin on this Light object, which has the Execute method implemented.
In Execute() method, I check the LIGHT_TYPE parameter and its BaseContainer has different value than light_object.GetParameter(...). The BaseContainer has the correct value.
Why is this happening ? Shouldn't GetParameter return the same value as the one stored in object's data BaseContainer ?
Thank you for your time.