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

0.9.0.1-postfixes
UbitUmarov 2017-11-08 06:51:55 +00:00
parent 8479658cd0
commit 8eb9bc8b19
1 changed files with 4 additions and 2 deletions

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,8 +5228,9 @@ namespace OpenSim.Region.Framework.Scenes
}
}
if (changeFlags == 0)
return;
m_shape.TextureEntry = newTex.GetBytes();
if (changeFlags != 0)
TriggerScriptChangedEvent(changeFlags);
ParentGroup.HasGroupChanged = true;
ScheduleFullUpdate();