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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-08-16 06:35:44 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-16 06:35:44 +0400
commit88294d7fa2a590674ec006da7fd9e8bd7a733fc3 (patch)
treebcec98791b71af0abbbb29a76a86fa3dbe8d7c40 /source/blender/editors/transform/transform_orientations.c
parentb257acfed11e8d98eb7c86e0908acf80fb9e27af (diff)
2.5/Particle edit:
* Made particle edit object-localized.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index 661d9ead799..1cfbac88731 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -894,10 +894,7 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3],
result = ORIENTATION_EDGE;
}
}
- else if(ob && (ob->mode & (OB_MODE_SCULPT|OB_MODE_VERTEX_PAINT|OB_MODE_WEIGHT_PAINT|OB_MODE_TEXTURE_PAINT)))
- {
- }
- else if(G.f & G_PARTICLEEDIT)
+ else if(ob && (ob->mode & (OB_MODE_SCULPT|OB_MODE_VERTEX_PAINT|OB_MODE_WEIGHT_PAINT|OB_MODE_TEXTURE_PAINT|OB_MODE_PARTICLE_EDIT)))
{
}
else {