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>2010-03-03 21:49:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-03 21:49:26 +0300
commit5de69e9545d2f3fa2e694c757a9ccf08fafe58eb (patch)
tree7d3ad4231726f244f8cf61174918d456f56e3e91 /source/blender/editors/animation
parentf09efddcda8f83b5cbee31fccb63ac0864bad82a (diff)
[#21436] Do not set BASACT to NULL when new base wasn't created in convert_exec
by Sergey Sharybin (nazgul) (from the patch) When new base wasn't created in convert_exec() function. BASACT will set to NULL, which is not convenient. For example, u can't enter edit mode after converting curve to mesh. Now BASACT changes only if base for active object was changed.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/anim_markers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index 3e580ffd7ac..2888a95f704 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -819,7 +819,7 @@ static int ed_marker_select(bContext *C, wmEvent *evt, int extend, int camera)
Scene *scene= CTX_data_scene(C);
Base *base;
TimeMarker *marker;
- int sel;
+ int sel= 0;
if (!extend)
scene_deselect_all(scene);