mantis 8263: recover the ignore of texture changes if only materialID changed. That should be done by respective cap (as before)

This commit is contained in:
UbitUmarov
2017-11-08 06:51:55 +00:00
parent 8479658cd0
commit 8eb9bc8b19

View File

@@ -2583,6 +2583,7 @@ namespace OpenSim.Region.Framework.Scenes
if(ParentGroup != null)
ParentGroup.InvalidateEffectivePerms();
}
// same as above but called during group Effective Permission validation
public void AggregatedInnerPermsForGroup()
{
@@ -5227,9 +5228,10 @@ namespace OpenSim.Region.Framework.Scenes
}
}
if (changeFlags == 0)
return;
m_shape.TextureEntry = newTex.GetBytes();
if (changeFlags != 0)
TriggerScriptChangedEvent(changeFlags);
TriggerScriptChangedEvent(changeFlags);
ParentGroup.HasGroupChanged = true;
ScheduleFullUpdate();
}