summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ClashAvoider.cpp6
-rw-r--r--src/shared/ClashAvoider.hpp2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index aa7dd774..b5d99cbd 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -126,12 +126,10 @@ ClashAvoider::exists(const Raul::Path& path) const
}
-void
+bool
ClashAvoider::new_object(const GraphObject* object)
{
- // FIXME:
- ((GraphObject*)object)->set_path(map_path(object->path()));
- _target.new_object(object);
+ return false;
}
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index ead6d96c..efdebf98 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -49,7 +49,7 @@ public:
// Object commands
- void new_object(const GraphObject* object);
+ bool new_object(const GraphObject* object);
void new_patch(const std::string& path,
uint32_t poly);