diff options
force SOG update when converting legacy materials to ensure changes are persisted
Diffstat (limited to 'OpenSim/Region/OptionalModules/Materials/MaterialsModule.cs')
-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"); |