On 24/10/2013 at 18:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I've got the following in a dialog:
if(this->SetReal(ID_REAL_UP, 1, NULL, NULL, 0.1, FORMAT_DEGREE, NULL, NULL, FALSE, FALSE));{GePrint("Aparently set..");}
The GePrint runs, but the value is not set.
There are variations of this in 'if' statements, so depending on which if statement runs, the real could be a percent display, or a degree display. But the values aren't being set, they are always zero. (Has this anything to do with the tristate flag?).
Setting (trying) different bool values where the false flags are doesn't seem to change anything (value-wise). Where am I going wrong here?
Thanks,
WP.
EDIT: just shortened some code to fit it on my little screen, also just to note that the real did show the values correctly at one point, but that was before I tried putting in the FORMAT_DEGREE flag as I'm wanting it to display the degree symbol, and not just a plain real number. BTW the real does change the symbol when I go to a different if statement too, so it's clearly updating the real, just not implementing the value with it.