add missing files after merging
[blender.git] / source / gameengine / Ketsji / KX_VisibilityActuator.cpp
index 184e127209fd197453d42a4bee0013ae3107fd3e..6dc9961fe2d5b66019ce55c59bdfaaeb98374090 100644 (file)
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
  * All rights reserved.
  * Actuator to toggle visibility/invisibility of objects
  */
 
+/** \file gameengine/Ketsji/KX_VisibilityActuator.cpp
+ *  \ingroup ketsji
+ */
+
+
 #include "KX_VisibilityActuator.h"
 #include "KX_GameObject.h"
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 KX_VisibilityActuator::KX_VisibilityActuator(
        SCA_IObject* gameobj,
        bool visible,
        bool occlusion,
        bool recursive
        ) 
-       : SCA_IActuator(gameobj),
+       : SCA_IActuator(gameobj, KX_ACT_VISIBILITY),
          m_visible(visible),
          m_occlusion(occlusion),
          m_recursive(recursive)
@@ -83,6 +84,8 @@ KX_VisibilityActuator::Update()
        return false;
 }
 
+#ifdef WITH_PYTHON
+
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
 /* ------------------------------------------------------------------------- */
@@ -122,3 +125,5 @@ PyAttributeDef KX_VisibilityActuator::Attributes[] = {
        KX_PYATTRIBUTE_BOOL_RW("useRecursion", KX_VisibilityActuator, m_recursive),
        { NULL }        //Sentinel
 };
+
+#endif // WITH_PYTHON