~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/gameengine/Ketsji/KX_MeshProxy.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
 
 * $Id: KX_MeshProxy.h 26841 2010-02-12 13:34:04Z campbellbarton $
3
 
 *
 
1
/*
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
26
24
 *
27
25
 * ***** END GPL LICENSE BLOCK *****
28
26
 */
29
 
#ifndef __KX_MESHPROXY
30
 
#define __KX_MESHPROXY
31
 
 
32
 
#ifndef DISABLE_PYTHON
 
27
 
 
28
/** \file KX_MeshProxy.h
 
29
 *  \ingroup ketsji
 
30
 */
 
31
 
 
32
#ifndef __KX_MESHPROXY_H__
 
33
#define __KX_MESHPROXY_H__
 
34
 
 
35
#ifdef WITH_PYTHON
33
36
 
34
37
#include "SCA_IObject.h"
35
38
 
38
41
 
39
42
class KX_MeshProxy      : public CValue
40
43
{
41
 
        Py_Header;
 
44
        Py_Header
42
45
 
43
46
        class RAS_MeshObject*   m_meshobj;
44
47
public:
48
51
        void SetMeshModified(bool v);
49
52
 
50
53
        // stuff for cvalue related things
51
 
        virtual CValue*         Calc(VALUE_OPERATOR op, CValue *val) ;
 
54
        virtual CValue*         Calc(VALUE_OPERATOR op, CValue *val);
52
55
        virtual CValue*         CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val);
53
56
        virtual const STR_String &      GetText();
54
57
        virtual double          GetNumber();
74
77
        static PyObject * pyattr_get_numPolygons(void * self, const KX_PYATTRIBUTE_DEF * attrdef);
75
78
};
76
79
 
77
 
#endif // DISABLE_PYTHON
 
80
#endif // WITH_PYTHON
78
81
 
79
 
#endif //__KX_MESHPROXY
 
82
#endif //__KX_MESHPROXY_H__
80
83