qwert_e Posted January 25, 2019 Share Posted January 25, 2019 When i set callback via PropertyPtr addCallback method with CALLBACK_PARAMETER_CHANGED flag, the following signature needed for callback func: p_changed(Unigine::PropertyPtr property, int num_that_changed) I have property with 14 parameters, and if i modify property file in data/ComponentSystem folder, the property in editor refreshes. But when i change some parameter value in Editor, the int num_that_changed argument value becomes strange. It becomes more than 14 (like 15-29 or 30-44 on different parameters) Link to comment
alexander Posted January 28, 2019 Share Posted January 28, 2019 Hi qwert_e, Unfortunately, there is a very few information in the documentation about this callback. We will fix it.Num_that_changed is the ID of the Parameter that has been changed. If it's value is "-1", more than one parameter has been changed. Best regards, Alexander Link to comment
Recommended Posts