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:
authorCampbell Barton <ideasman42@gmail.com>2007-09-15 22:12:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-15 22:12:16 +0400
commit3a90f211d2cff5aa93bf0d52688685f9b7e92299 (patch)
treea873505ddc9cdd3891812c3f17b30147ab5f8f11 /source/blender/src/drawmesh.c
parentb2a8199d4ba545631a992af6a540dc2f2da186eb (diff)
new view option, SolidTex, to draw textures in solid mode.
In the view panel as well as the shortcut Shift+T this works in editmode as well as object mode giving results like this http://members.optusnet.com.au/cjbarton/temp1.jpg where before you could only see textures in textured draw type like this http://members.optusnet.com.au/cjbarton/temp2.jpg
Diffstat (limited to 'source/blender/src/drawmesh.c')
-rw-r--r--source/blender/src/drawmesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c
index 99d35f834dc..f974e85293a 100644
--- a/source/blender/src/drawmesh.c
+++ b/source/blender/src/drawmesh.c
@@ -1201,7 +1201,7 @@ void draw_mesh_textured(Object *ob, DerivedMesh *dm, int faceselect)
#endif
/* draw game engine text hack - but not if we are editing the mesh */
- if (get_property(ob, "Text") && me->mtface) {
+ if (me->mtface && get_property(ob, "Text")) {
if(ob==G.obedit)
editing= 1;
else if(ob==OBACT)