bugfix 8183, Ray sensor with material/property filter always triggers when hitting object without the required characteristic fixed by Benoit Blosee(ben2610), and some minor changes for 2d-filters.

This commit is contained in:
2008-02-04 03:48:46 +00:00
parent 47b53510a5
commit 5faa2e63a1
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ SCA_2DFilterActuator::SCA_2DFilterActuator(
{
}
void SCA_2DFilterActuator::SetShaderText(STR_String& text)
void SCA_2DFilterActuator::SetShaderText(STR_String text)
{
m_shaderText = text;
}

View File

@@ -33,7 +33,7 @@ public:
PyTypeObject* T=&Type
);
void SetShaderText(STR_String& text);
void SetShaderText(STR_String text);
virtual ~SCA_2DFilterActuator();
virtual bool Update();

View File

@@ -143,7 +143,7 @@ bool KX_RaySensor::RayHit(KX_ClientObjectInfo* client, MT_Point3& hit_point, MT_
}
return true;
return bFound;
}