Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2005-08-22 19:47:56 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-08-22 19:47:56 +0400
commit65a52fc419a990036cdf77ccb8bc724b0aefa8b5 (patch)
tree7a29645d8ae599b64fdd6419a23757e4104eaaf1 /source/gameengine/Rasterizer/RAS_Polygon.cpp
parent838d9385226a550a0d6f06ad2dee92ec5dbb5e9a (diff)
- prepared for automatic game physics -> animation (ipo) conversion (this allows to use bullet for animation)
- default the m_edgecode to 65535, the wireframe was invisible. when is the edgecode available again ? - added an extra condition, nearsensor is not yet working for bullet, but it crashed.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_Polygon.cpp')
-rw-r--r--source/gameengine/Rasterizer/RAS_Polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_Polygon.cpp b/source/gameengine/Rasterizer/RAS_Polygon.cpp
index bfd87d4e416..310c58882c9 100644
--- a/source/gameengine/Rasterizer/RAS_Polygon.cpp
+++ b/source/gameengine/Rasterizer/RAS_Polygon.cpp
@@ -65,7 +65,7 @@ RAS_Polygon::RAS_Polygon(RAS_MaterialBucket* bucket,
:m_bucket(bucket),
m_vertexindexbase(numverts),
m_numverts(numverts),
- m_edgecode(0)
+ m_edgecode(65535)
{
m_vertexindexbase.m_vtxarray = vtxarrayindex ;//m_bucket->FindVertexArray(numverts);
m_polyFlags.Visible = visible;