diff engine/core/view/renderers/genericrenderer.cpp @ 26:70f41ea8e7db

fix compile errors in node setters...
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 11 Jul 2008 11:29:13 +0000
parents fc6713d72b80
children 788cb9525b2f
line wrap: on
line diff
--- a/engine/core/view/renderers/genericrenderer.cpp	Fri Jul 11 11:25:11 2008 +0000
+++ b/engine/core/view/renderers/genericrenderer.cpp	Fri Jul 11 11:29:13 2008 +0000
@@ -65,12 +65,12 @@
 	GenericRendererNode::~GenericRendererNode() {
 	}
 
-	void GenericRendererNode::setAttached(Instance* attached_instance, const Location &relative_location, const Point &relative_point) {
+	void GenericRendererNode::setAttached(Instance* attached_instance, Location* relative_location, const Point &relative_point) {
 		m_instance = attached_instance;
 		m_location = relative_location;
 		m_point = relative_point;
 	}
-	void GenericRendererNode::setAttached(Instance* attached_instance, const Location &relative_location) {
+	void GenericRendererNode::setAttached(Instance* attached_instance, Location* relative_location) {
 		m_instance = attached_instance;
 		m_location = relative_location;
 	}
@@ -81,12 +81,12 @@
 	void GenericRendererNode::setAttached(Instance* attached_instance) {
 		m_instance = attached_instance;
 	}
-	void GenericRendererNode::setAttached(const Location &attached_location, const Point &relative_point) {
+	void GenericRendererNode::setAttached(Location* attached_location, const Point &relative_point) {
 		m_instance = NULL;
 		m_location = attached_location;
 		m_point = relative_point;
 	}
-	void GenericRendererNode::setAttached(const Location &attached_location) {
+	void GenericRendererNode::setAttached(Location* attached_location) {
 		m_instance = NULL;
 		m_location = attached_location;
 	}
@@ -96,13 +96,13 @@
 		m_point = attached_point;
 	}
 
-	void GenericRendererNode::setRelative(const Location &relative_location) {
+	void GenericRendererNode::setRelative(Location* relative_location) {
 		if(m_instance == NULL) {
 			throw NotSupported("No instance attached.");
 		}
 		m_location = relative_location;
 	}
-	void GenericRendererNode::setRelative(const Location &relative_location, Point relative_point) {
+	void GenericRendererNode::setRelative(Location* relative_location, Point relative_point) {
 		if(m_instance == NULL) {
 			throw NotSupported("No instance attached.");
 		}