Fixed bug in VisibleRegion class--target selection was a reference but should have been an instance.

ver1_6_1
Chris Laurel 2008-04-09 02:13:50 +00:00
parent d07637d52c
commit f24b658f10
1 changed files with 2 additions and 2 deletions

View File

@ -14,10 +14,10 @@
#define _CELENGINE_VISIBLEREGION_H_
#include <celengine/referencemark.h>
#include <celengine/selection.h>
#include <celutil/color.h>
class Body;
class Selection;
/*! VisibleRegion is a reference mark that shows the outline of
@ -43,7 +43,7 @@ public:
private:
const Body& m_body;
const Selection& m_target;
const Selection m_target;
Color m_color;
float m_opacity;
};