mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-20 10:25:40 +00:00
More linux and memory leak fixes
This commit is contained in:
@@ -17,6 +17,7 @@ protected:
|
||||
CCollisionRenderData mRenderData;
|
||||
|
||||
public:
|
||||
virtual ~CCollisionMesh() = default;
|
||||
virtual void BuildRenderData();
|
||||
|
||||
/** Accessors */
|
||||
|
||||
@@ -14,6 +14,7 @@ enum class EOBBTreeNodeType : uint8
|
||||
|
||||
struct SOBBTreeNode
|
||||
{
|
||||
virtual ~SOBBTreeNode() = default;
|
||||
CTransform4f Transform;
|
||||
CVector3f Radii;
|
||||
EOBBTreeNodeType NodeType;
|
||||
|
||||
@@ -50,6 +50,8 @@ protected:
|
||||
{}
|
||||
|
||||
public:
|
||||
virtual ~CArrayProperty() { delete mpItemArchetype; }
|
||||
|
||||
virtual uint32 DataSize() const
|
||||
{
|
||||
return sizeof(SScriptArray);
|
||||
|
||||
@@ -352,13 +352,9 @@ public:
|
||||
typedef PropType ValueType;
|
||||
|
||||
protected:
|
||||
PropType mDefaultValue;
|
||||
PropType mDefaultValue = {};
|
||||
|
||||
TTypedProperty(EGame Game)
|
||||
: IProperty(Game)
|
||||
{
|
||||
memset(&mDefaultValue, 0, sizeof(PropType));
|
||||
}
|
||||
TTypedProperty(EGame Game) : IProperty(Game) {}
|
||||
|
||||
public:
|
||||
virtual EPropertyType Type() const { return PropEnum; }
|
||||
|
||||
Reference in New Issue
Block a user