diff options
Diffstat (limited to 'indra/newview/lllocalgltfmaterials.h')
-rw-r--r-- | indra/newview/lllocalgltfmaterials.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/indra/newview/lllocalgltfmaterials.h b/indra/newview/lllocalgltfmaterials.h index 231231a344..7f5b06e10a 100644 --- a/indra/newview/lllocalgltfmaterials.h +++ b/indra/newview/lllocalgltfmaterials.h @@ -48,20 +48,11 @@ public: /* accessors */ LLUUID getWorldID(); bool getValid(); -public: /* self update public section */ - enum EUpdateType - { - UT_FIRSTUSE, - UT_REGUPDATE - }; - - bool updateSelf(EUpdateType = UT_REGUPDATE); +public: + bool updateSelf(); -private: /* self update private section */ +private: bool loadMaterial(LLPointer<LLGLTFMaterial> raw); - void replaceIDs(LLUUID old_id, LLUUID new_id); - std::vector<LLViewerObject*> prepUpdateObjects(LLUUID old_id, U32 channel); - void updateUserPrims(LLUUID old_id, LLUUID new_id, U32 channel); private: /* private enums */ enum ELinkStatus |