Build fix
parent
9edc0870d7
commit
67e4c672c7
|
|
@ -99,8 +99,15 @@ bool FSExportPermsCheck::canExportNode(LLSelectNode* node, bool dae)
|
|||
{
|
||||
if (dae)
|
||||
{
|
||||
LLSD mesh_header = gMeshRepo.getMeshHeader(sculpt_params->getSculptTexture());
|
||||
exportable = mesh_header["creator"].asUUID() == gAgentID;
|
||||
const LLSD* mesh_header_ptr = gMeshRepo.getMeshHeader(sculpt_params->getSculptTexture());
|
||||
if (mesh_header_ptr)
|
||||
{
|
||||
exportable = (*mesh_header_ptr)["creator"].asUUID() == gAgentID;
|
||||
}
|
||||
else
|
||||
{
|
||||
exportable = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue