@@ -126,7 +126,7 @@ namespace BansheeEngine
RTTITypeBase* getRTTI() const override;
protected:
- Component() {} // Serialization only
+ Component(); // Serialization only
};
/** @} */
@@ -6,6 +6,10 @@
namespace BansheeEngine
{
+ Component::Component()
+ :mNotifyFlags(TCF_None)
+ { }
+
Component::Component(const HSceneObject& parent)
:mNotifyFlags(TCF_None), mParent(parent)