Fixed bevels going mentally insane on duplicate
This commit is contained in:
@@ -27,7 +27,7 @@ std::vector<PROPGRIDITEM> PVInstance::getProperties()
|
|||||||
"Item",
|
"Item",
|
||||||
"NameShown",
|
"NameShown",
|
||||||
"This chooses whether the item name is shown",
|
"This chooses whether the item name is shown",
|
||||||
false,
|
nameShown,
|
||||||
PIT_CHECK));
|
PIT_CHECK));
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ void PartInstance::postRender(RenderDevice *rd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PartInstance::PartInstance(const PartInstance &oinst)
|
PartInstance::PartInstance(const PartInstance &oinst) : _bevelSize(0.07f), _parseVert(0), _debugTimer(0)
|
||||||
{
|
{
|
||||||
PVInstance::PVInstance(oinst);
|
PVInstance::PVInstance(oinst);
|
||||||
//name = oinst.name;
|
//name = oinst.name;
|
||||||
@@ -77,6 +77,7 @@ PartInstance::PartInstance(const PartInstance &oinst)
|
|||||||
left = oinst.left;
|
left = oinst.left;
|
||||||
bottom = oinst.bottom;
|
bottom = oinst.bottom;
|
||||||
shape = oinst.shape;
|
shape = oinst.shape;
|
||||||
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PartInstance::setSize(Vector3 newSize)
|
void PartInstance::setSize(Vector3 newSize)
|
||||||
|
|||||||
Reference in New Issue
Block a user