Added SetDirty function.

This commit is contained in:
William Moberg
2016-03-08 15:44:02 +01:00
parent 090bd806ce
commit e3c0fb2178
+1
View File
@@ -108,6 +108,7 @@ struct ComponentWrapper
// Return the integer value of an enum type key for this field
ComponentInfo::EnumType Enum(const char* enumKey) { return m_Component->Enum(m_PropertyName.c_str(), enumKey); }
bool Dirty(DirtySet set) { return true; }
void SetDirty(bool dirty = true) { }
template <typename T>
operator T&() { return m_Component->Field<T>(m_PropertyName); }