void Set(PB2Value& v, ReferenceMaker* owner, ParamID id, int tabIndex, TimeValue t) // set from v { Gradient* p = (Gradient*)owner; p->EnableStuff(); }
void SetThing(ReferenceTarget *m) { Gradient *theGrad = (Gradient *)m; if (theGrad) theGrad->EnableStuff(); }