fixes 0003771: Memory leak in Part.Face.Surface
This commit is contained in:
@@ -201,7 +201,8 @@ class BaseExport PyObjectBase : public PyObject
|
||||
enum Status {
|
||||
Valid = 0,
|
||||
Immutable = 1,
|
||||
Notify = 2
|
||||
Notify = 2,
|
||||
NoTrack = 3
|
||||
};
|
||||
|
||||
protected:
|
||||
@@ -313,6 +314,14 @@ public:
|
||||
|
||||
void startNotify();
|
||||
|
||||
void setNotTracking(bool on=true) {
|
||||
StatusBits.set(NoTrack, on);
|
||||
}
|
||||
|
||||
bool isNotTracking() const {
|
||||
return StatusBits.test(NoTrack);
|
||||
}
|
||||
|
||||
typedef void* PointerType;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user