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>2015-11-23 07:44:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-23 09:40:50 +0300
commit48b1656a6cce6fd7606a671eea9d0d17b67d7445 (patch)
treed95ed94cf1d1934c01de44364db7d53ca2262ff3 /source/blender/editors/util
parent6e4cb463c44ab57331cda7ded645b4faa573bbb3 (diff)
Cleanup: shadowing (editors)
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/undo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c
index 681001e7ed7..a1853bf8daa 100644
--- a/source/blender/editors/util/undo.c
+++ b/source/blender/editors/util/undo.c
@@ -461,8 +461,6 @@ static int get_undo_system(bContext *C)
}
}
else {
- Object *obact = CTX_data_active_object(C);
-
if (obact) {
if (obact->mode & OB_MODE_PARTICLE_EDIT)
return UNDOSYSTEM_PARTICLE;