Răsfoiți Sursa

Change references to Component::OnSetAttribute() to Serializable::OnSetAttribute() as the Component overload no longer exists.

Lasse Öörni 11 ani în urmă
părinte
comite
5463254bbf

+ 1 - 1
Source/Engine/Graphics/Light.cpp

@@ -151,7 +151,7 @@ void Light::RegisterObject(Context* context)
 
 
 void Light::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void Light::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     // Validate the bias, cascade & focus parameters
     // Validate the bias, cascade & focus parameters
     if (attr.offset_ >= offsetof(Light, shadowBias_) && attr.offset_ < (offsetof(Light, shadowBias_) + sizeof(BiasParameters)))
     if (attr.offset_ >= offsetof(Light, shadowBias_) && attr.offset_ < (offsetof(Light, shadowBias_) + sizeof(BiasParameters)))

+ 1 - 1
Source/Engine/Graphics/Octree.cpp

@@ -371,7 +371,7 @@ void Octree::RegisterObject(Context* context)
 void Octree::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void Octree::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
     // If any of the (size) attributes change, resize the octree
     // If any of the (size) attributes change, resize the octree
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
     SetSize(worldBoundingBox_, numLevels_);
     SetSize(worldBoundingBox_, numLevels_);
 }
 }
 
 

+ 1 - 1
Source/Engine/Graphics/Terrain.cpp

@@ -112,7 +112,7 @@ void Terrain::RegisterObject(Context* context)
 
 
 void Terrain::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void Terrain::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     // Change of any non-accessor attribute requires recreation of the terrain
     // Change of any non-accessor attribute requires recreation of the terrain
     if (!attr.accessor_)
     if (!attr.accessor_)

+ 1 - 1
Source/Engine/Graphics/Zone.cpp

@@ -89,7 +89,7 @@ void Zone::RegisterObject(Context* context)
 
 
 void Zone::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void Zone::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     // If bounding box or priority changes, dirty the drawable as applicable
     // If bounding box or priority changes, dirty the drawable as applicable
     if ((attr.offset_ >= offsetof(Zone, boundingBox_) && attr.offset_ < (offsetof(Zone, boundingBox_) + sizeof(BoundingBox))) ||
     if ((attr.offset_ >= offsetof(Zone, boundingBox_) && attr.offset_ < (offsetof(Zone, boundingBox_) + sizeof(BoundingBox))) ||

+ 1 - 1
Source/Engine/Navigation/OffMeshConnection.cpp

@@ -60,7 +60,7 @@ void OffMeshConnection::RegisterObject(Context* context)
 
 
 void OffMeshConnection::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void OffMeshConnection::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
     
     
     if (attr.offset_ == offsetof(OffMeshConnection, endPointID_))
     if (attr.offset_ == offsetof(OffMeshConnection, endPointID_))
         endPointDirty_ = true;
         endPointDirty_ = true;

+ 1 - 1
Source/Engine/Physics/CollisionShape.cpp

@@ -369,7 +369,7 @@ void CollisionShape::RegisterObject(Context* context)
 
 
 void CollisionShape::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void CollisionShape::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     // Change of any non-accessor attribute requires recreation of the collision shape
     // Change of any non-accessor attribute requires recreation of the collision shape
     if (!attr.accessor_)
     if (!attr.accessor_)

+ 1 - 1
Source/Engine/Physics/Constraint.cpp

@@ -98,7 +98,7 @@ void Constraint::RegisterObject(Context* context)
 
 
 void Constraint::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void Constraint::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     if (!attr.accessor_)
     if (!attr.accessor_)
     {
     {

+ 1 - 1
Source/Engine/Physics/RigidBody.cpp

@@ -132,7 +132,7 @@ void RigidBody::RegisterObject(Context* context)
 
 
 void RigidBody::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 void RigidBody::OnSetAttribute(const AttributeInfo& attr, const Variant& src)
 {
 {
-    Component::OnSetAttribute(attr, src);
+    Serializable::OnSetAttribute(attr, src);
 
 
     // Change of any non-accessor attribute requires the rigid body to be re-added to the physics world
     // Change of any non-accessor attribute requires the rigid body to be re-added to the physics world
     if (!attr.accessor_)
     if (!attr.accessor_)