void RendSpline::EndEditParams( IObjParam *ip, ULONG flags,Animatable *next) { RendSplineDesc.EndEditParams(ip, this, flags, next); TimeValue t = ip->GetTime(); paramDlgProc = NULL; ip->EnableShowEndResult(TRUE); ClearAFlag(A_MOD_BEING_EDITED); NotifyDependents(Interval(t,t), PART_ALL, REFMSG_END_EDIT); NotifyDependents(Interval(t,t), PART_ALL, REFMSG_MOD_DISPLAY_OFF); this->ip = NULL; }
void RendSpline::BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev ) { this->ip = ip; ip->EnableShowEndResult(FALSE); TimeValue t = ip->GetTime(); NotifyDependents(Interval(t,t), PART_ALL, REFMSG_BEGIN_EDIT); NotifyDependents(Interval(t,t), PART_ALL, REFMSG_MOD_DISPLAY_ON); SetAFlag(A_MOD_BEING_EDITED); RendSplineDesc.BeginEditParams(ip, this, flags, prev); // pointcache_param_blk.SetUserDlgProc(new PointCacheParamsMapDlgProc(this)); paramDlgProc = new RendSplineParamsMapDlgProc(this); rendspline_param_blk.SetUserDlgProc(paramDlgProc); }