11 #ifndef __TAKE_Manager__
12 #define __TAKE_Manager__
37 {
return ourAutoIncludeModeFlag; }
39 { ourAutoIncludeModeFlag = state; }
42 {
return ourAutoIncludeLockedAssetsFlag; }
44 { ourAutoIncludeLockedAssetsFlag = state; }
51 bool *cleaned_dead_data_from_master_take = 0);
59 virtual void switchToTake(
TAKE_Take *take,
60 bool force_even_if_current=
false);
71 TAKE_Take *insertTake(
const char *
name,
const char *parent = 0);
78 virtual void renameTake(
TAKE_Take *take,
const char *newname);
90 void setDefaultTakeName(
const char *
s);
97 bool overwrite_dest=
false);
100 virtual int save(std::ostream &os,
int binary)
const;
104 std::ostream &os,
int bin,
bool recurse)
const;
109 int copyTake(std::ostream &os,
TAKE_Take *take,
110 bool binary,
bool recurse)
const;
117 std::ostream &os,
int binary)
const;
124 virtual TAKE_Data *dataFactory(
const char *oppath,
const char *
label) = 0;
147 {
return myCurrentActivationPendingFlag; }
151 void handlePendingTakeActivation();
167 const char *prefix_base,
168 bool current_take_to_require_activation,
173 void createMasterTake();
174 void destroyMasterTake();
175 bool saveMagic(std::ostream &os)
const;
177 int &vmajor,
int &vminor)
const;
180 const char *prefix,
bool recurse);
189 bool myCurrentActivationPendingFlag;
191 static bool ourAutoIncludeModeFlag;
192 static bool ourAutoIncludeLockedAssetsFlag;
const char * getDefaultTakeName()
GLuint GLsizei const GLchar * label
static bool getAutoIncludeModeFlag()
const GLuint GLenum const void * binary
static void setAutoIncludeModeFlag(bool state)
**But if you need a result
UT_NotifierImpl< TAKE_Event & > & getEventNotifier()
static void setAutoIncludeLockedAssetsFlag(bool state)
GLenum GLuint GLint GLint layer
bool isCurrentTakeActivationPending() const
static bool getAutoIncludeLockedAssetsFlag()
GLuint const GLchar * name
GLsizei const GLchar *const * strings
Attempt to access an object that no longer exists in Houdini Invalid output Invalid type The attempted operation failed Node initialization script failed Failed to modify node or parameter because of a permission error Possible causes include locked takes
TAKE_Take * getCurrentTake()
TAKE_Take * myCurrentTake
UT_SymbolMap< TAKE_Take * > myNameSpace
TAKE_Take * getMasterTake()
int getListSerial() const