diff options
author | dahlia | 2014-01-20 03:11:01 -0800 |
---|---|---|
committer | dahlia | 2014-01-20 03:11:01 -0800 |
commit | 36d8a24a867fbbc95214653fec463aced8ba7c5f (patch) | |
tree | dde15f30b7c54943f638debc7b563d626b896d11 /OpenSim/Region | |
parent | delay texture entry parsing until absolutely necessary while converting legac... (diff) | |
download | opensim-SC-36d8a24a867fbbc95214653fec463aced8ba7c5f.zip opensim-SC-36d8a24a867fbbc95214653fec463aced8ba7c5f.tar.gz opensim-SC-36d8a24a867fbbc95214653fec463aced8ba7c5f.tar.bz2 opensim-SC-36d8a24a867fbbc95214653fec463aced8ba7c5f.tar.xz |
force SOG update when converting legacy materials to ensure changes are persisted
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs index d8ec979..ce2a56a 100644 --- a/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs +++ b/OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs | |||
@@ -215,6 +215,8 @@ namespace OpenSim.Region.OptionalModules.Materials | |||
215 | } | 215 | } |
216 | 216 | ||
217 | part.Shape.TextureEntry = te.GetBytes(); | 217 | part.Shape.TextureEntry = te.GetBytes(); |
218 | part.ParentGroup.HasGroupChanged = true; | ||
219 | part.ScheduleFullUpdate(); | ||
218 | 220 | ||
219 | lock (part.DynAttrs) | 221 | lock (part.DynAttrs) |
220 | part.DynAttrs.RemoveStore("OpenSim", "Materials"); | 222 | part.DynAttrs.RemoveStore("OpenSim", "Materials"); |