Smoke:
[blender.git] / source / blender / editors / space_view3d / drawobject.c
index 572759017df891cf6c28994d523e2af592f4ad03..fc700d8a8ad29f55243f25e39a5033e72f7507c8 100644 (file)
@@ -5486,7 +5486,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, int flag)
 
                                mod_texture = MAX3(1, smd->domain->visibility, (int)(res[mainaxis[0]] / smd->domain->max_textures ));
                                
-                               for (z = res[mainaxis[0]]-1; z >= 0; z--) // 2
+                               for (z = 0; z < res[mainaxis[0]]; z++) // 2
                                {
                                        float quad[4][3];