~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_ArmatureSensor.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * Property sensor
3
 
 *
4
 
 * $Id: KX_ArmatureSensor.h 26841 2010-02-12 13:34:04Z campbellbarton $
5
 
 *
 
1
/*
6
2
 * ***** BEGIN GPL LICENSE BLOCK *****
7
3
 *
8
4
 * This program is free software; you can redistribute it and/or
29
25
 * ***** END GPL LICENSE BLOCK *****
30
26
 */
31
27
 
32
 
#ifndef __KX_ARMATURESENSOR
33
 
#define __KX_ARMATURESENSOR
 
28
/** \file KX_ArmatureSensor.h
 
29
 *  \ingroup ketsji
 
30
 *  \brief Property sensor
 
31
 */
 
32
 
 
33
#ifndef __KX_ARMATURESENSOR_H__
 
34
#define __KX_ARMATURESENSOR_H__
34
35
 
35
36
struct bConstraint;
36
37
 
39
40
 
40
41
class KX_ArmatureSensor : public SCA_ISensor
41
42
{
42
 
        Py_Header;
 
43
        Py_Header
43
44
        //class CExpression*    m_rightexpr;
44
45
 
45
46
protected:
66
67
        // identify the constraint that this actuator controls
67
68
        void FindConstraint();
68
69
 
69
 
#ifndef DISABLE_PYTHON
 
70
#ifdef WITH_PYTHON
70
71
 
71
72
        /* --------------------------------------------------------------------- */
72
73
        /* Python interface ---------------------------------------------------- */
73
74
        /* --------------------------------------------------------------------- */
74
75
        static PyObject* pyattr_get_constraint(void *self, const struct KX_PYATTRIBUTE_DEF *attrdef);
75
76
 
76
 
#endif // DISABLE_PYTHON
 
77
#endif // WITH_PYTHON
77
78
 
78
79
private:
79
80
        struct bConstraint*     m_constraint;