Bug #364

The singlescatter plugin is lost in the CMake build system

Added by Ilia Efimoff almost 2 years ago.

Status:NewStart date:07/07/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Got error: "Caught a critical exception: main [scenehandler.cpp:745] In file "/tmp/room16mts._mainScene.00000.xml" (near line 254): Error while creating object: main [PluginManager] Plugin "singlescatter" not found!"
I just found it with

--- a/src/subsurface/CMakeLists.txt
+++ b/src/subsurface/CMakeLists.txt
@@ -7,5 +7,6 @@ macro(add_subsurface)
   add_mts_plugin(${ARGN} TYPE subsurface)
 endmacro()

+add_subsurface(singlescatter    singlescatter.cpp)
 add_subsurface(dipole    dipole.cpp
   irrproc.h irrproc.cpp irrtree.h irrtree.cpp bluenoise.h bluenoise.cpp)

and render goes fine.

Also available in: Atom PDF