ccMaterialSet::ccMaterialSet(QString name/*=QString()*/) : std::vector<ccMaterial::CShared>() , CCShareable() , ccHObject(name) { setFlagState(CC_LOCKED,true); }
void ccHObject::detachFromParent() { ccHObject* parent = getParent(); if (!parent) return; setFlagState(CC_FATHER_DEPENDANT,false); parent->removeChild(this); }
void ccObject::setLocked(bool state) { setFlagState(CC_LOCKED,state); }
void ccObject::setEnabled(bool state) { setFlagState(CC_ENABLED,state); }