diff options
remove an invalid null UUID check which caused a warning
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs b/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs index 00504d0..b997d4d 100644 --- a/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs +++ b/OpenSim/Region/OptionalModules/Materials/MaterialsDemoModule.cs | |||
@@ -416,14 +416,7 @@ namespace OpenSim.Region.OptionalModules.MaterialsDemoModule | |||
416 | if (te.DefaultTexture == null) | 416 | if (te.DefaultTexture == null) |
417 | m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture is null"); | 417 | m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture is null"); |
418 | else | 418 | else |
419 | { | 419 | te.DefaultTexture.MaterialID = id; |
420 | if (te.DefaultTexture.MaterialID == null) | ||
421 | m_log.Debug("[MaterialsDemoModule]: te.DefaultTexture.MaterialID is null"); | ||
422 | else | ||
423 | { | ||
424 | te.DefaultTexture.MaterialID = id; | ||
425 | } | ||
426 | } | ||
427 | } | 420 | } |
428 | else | 421 | else |
429 | { | 422 | { |