mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 15:16:12 +00:00
Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions
--HG-- branch : develop
This commit is contained in:
parent
b3da4247d4
commit
36cc1ea2b5
7 changed files with 14 additions and 19 deletions
|
@ -87,8 +87,7 @@ class PO2RPO : public Modifier {
|
||||||
void GetClassName(TSTR& s) {s = GetString(IDS_CLASS_NAME);}
|
void GetClassName(TSTR& s) {s = GetString(IDS_CLASS_NAME);}
|
||||||
|
|
||||||
RefTargetHandle Clone( RemapDir &remap );
|
RefTargetHandle Clone( RemapDir &remap );
|
||||||
RefResult NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||||
PartID& partID, RefMessage message);
|
|
||||||
|
|
||||||
int NumSubs() { return 0; }
|
int NumSubs() { return 0; }
|
||||||
TSTR SubAnimName(int i) { return GetString(IDS_PARAMS); }
|
TSTR SubAnimName(int i) { return GetString(IDS_PARAMS); }
|
||||||
|
|
|
@ -220,8 +220,8 @@ void PO2RPO::EndEditParams( IObjParam *ip, ULONG flags,Animatable *next)
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
//From ReferenceMaker
|
//From ReferenceMaker
|
||||||
RefResult PO2RPO::NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message)
|
RefResult PO2RPO::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate)
|
||||||
{
|
{
|
||||||
//TODO: Add code to handle the various reference changed messages
|
//TODO: Add code to handle the various reference changed messages
|
||||||
return REF_SUCCEED;
|
return REF_SUCCEED;
|
||||||
|
|
|
@ -574,9 +574,8 @@ class EditPatchMod : public Modifier, IPatchOps, IPatchSelect, ISubMtlAPI, Attac
|
||||||
static bool additiveTile;
|
static bool additiveTile;
|
||||||
static bool automaticLighting;
|
static bool automaticLighting;
|
||||||
|
|
||||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate) { return REF_SUCCEED; }
|
||||||
PartID& partID, RefMessage message ) { return REF_SUCCEED; }
|
|
||||||
|
|
||||||
int selLevel;
|
int selLevel;
|
||||||
|
|
||||||
// RB:named sel sets
|
// RB:named sel sets
|
||||||
|
|
|
@ -304,10 +304,10 @@ void RPO::GetDeformBBox(TimeValue t, Box3& box, Matrix3 *tm, BOOL useSel )
|
||||||
// ------------------------------------------------------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
//From ReferenceMaker
|
//From ReferenceMaker
|
||||||
RefResult RPO::NotifyRefChanged( Interval changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message )
|
RefResult RPO::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget,PartID& partID, RefMessage message, BOOL propagate )
|
||||||
{
|
{
|
||||||
//TODO: Implement, if the object makes references to other things
|
//TODO: Implement, if the object makes references to other things
|
||||||
//return PatchObject::NotifyRefChanged( changeInt, hTarget, partID, message);
|
//return PatchObject::NotifyRefChanged( changeInt, hTarget, partID, message, propagate);
|
||||||
return(REF_SUCCEED);
|
return(REF_SUCCEED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -422,8 +422,7 @@ class PaintPatchMod : public Modifier
|
||||||
static bool automaticLighting;
|
static bool automaticLighting;
|
||||||
static bool lockBorders;
|
static bool lockBorders;
|
||||||
|
|
||||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
RefResult NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate) { return REF_SUCCEED; }
|
||||||
PartID& partID, RefMessage message ) { return REF_SUCCEED; }
|
|
||||||
|
|
||||||
bool includeMeshes;
|
bool includeMeshes;
|
||||||
bool preloadTiles;
|
bool preloadTiles;
|
||||||
|
|
|
@ -161,9 +161,7 @@ public:
|
||||||
Animatable* SubAnim(int i);
|
Animatable* SubAnim(int i);
|
||||||
TSTR SubAnimName(int i);
|
TSTR SubAnimName(int i);
|
||||||
|
|
||||||
RefResult NotifyRefChanged( Interval changeInt,RefTargetHandle hTarget,
|
RefResult NotifyRefChanged(const Interval& changeInt,RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||||
PartID& partID, RefMessage message);
|
|
||||||
|
|
||||||
|
|
||||||
CreateMouseCallBack* GetCreateMouseCallBack() {return NULL;}
|
CreateMouseCallBack* GetCreateMouseCallBack() {return NULL;}
|
||||||
void BeginEditParams(IObjParam *ip, ULONG flags,Animatable *prev);
|
void BeginEditParams(IObjParam *ip, ULONG flags,Animatable *prev);
|
||||||
|
|
|
@ -85,8 +85,7 @@ class RGBAdd: public Texmap {
|
||||||
int RemapRefOnLoad(int iref);
|
int RemapRefOnLoad(int iref);
|
||||||
|
|
||||||
RefTargetHandle Clone(RemapDir &remap = DefaultRemapDir());
|
RefTargetHandle Clone(RemapDir &remap = DefaultRemapDir());
|
||||||
RefResult NotifyRefChanged( Interval changeInt, RefTargetHandle hTarget,
|
RefResult NotifyRefChanged(const Interval &changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate);
|
||||||
PartID& partID, RefMessage message );
|
|
||||||
|
|
||||||
// IO
|
// IO
|
||||||
IOResult Save(ISave *isave);
|
IOResult Save(ISave *isave);
|
||||||
|
@ -365,9 +364,10 @@ TSTR RGBAdd::SubAnimName(int i) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RefResult RGBAdd::NotifyRefChanged(Interval changeInt, RefTargetHandle hTarget,
|
RefResult RGBAdd::NotifyRefChanged(const Interval& changeInt, RefTargetHandle hTarget, PartID& partID, RefMessage message, BOOL propagate)
|
||||||
PartID& partID, RefMessage message ) {
|
{
|
||||||
switch (message) {
|
switch (message)
|
||||||
|
{
|
||||||
case REFMSG_CHANGE:
|
case REFMSG_CHANGE:
|
||||||
ivalid.SetEmpty();
|
ivalid.SetEmpty();
|
||||||
if (hTarget == pblock)
|
if (hTarget == pblock)
|
||||||
|
|
Loading…
Reference in a new issue