force SOG update when converting legacy materials to ensure changes are persisted

master-beforevarregion
dahlia 2014-01-20 03:11:01 -08:00
parent 95c926b2cd
commit 36d8a24a86
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ namespace OpenSim.Region.OptionalModules.Materials
}
part.Shape.TextureEntry = te.GetBytes();
part.ParentGroup.HasGroupChanged = true;
part.ScheduleFullUpdate();
lock (part.DynAttrs)
part.DynAttrs.RemoveStore("OpenSim", "Materials");