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

This commit is contained in:
dahlia
2014-01-20 03:11:01 -08:00
parent 95c926b2cd
commit 36d8a24a86

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");