mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
null test for texture assets when using cached sculpt map
addresses mantis #3735
This commit is contained in:
@@ -2268,9 +2268,10 @@ if (m_shape != null) {
|
||||
{
|
||||
if (m_shape.SculptEntry)
|
||||
{
|
||||
//if (texture != null) // null could mean a cached sculpt map has been found
|
||||
{
|
||||
m_shape.SculptData = texture.Data;
|
||||
if (texture != null)
|
||||
m_shape.SculptData = texture.Data;
|
||||
|
||||
if (PhysActor != null)
|
||||
{
|
||||
// Tricks physics engine into thinking we've changed the part shape.
|
||||
|
||||
Reference in New Issue
Block a user