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:
authorTon Roosendaal <ton@blender.org>2011-02-27 20:23:00 +0300
committerTon Roosendaal <ton@blender.org>2011-02-27 20:23:00 +0300
commit7cc0cd7814934129a10addd37851ad0c1a3470bf (patch)
treed311814fc0fc4fb27a05de97f5b829d4b8c5339f /source/blender/editors/interface
parentda27e6889a2adb7a52c04fe25fab7a9f367491e6 (diff)
Bugfix, own collection.
Curve widget editing used bad pointer, unsure in which cases it would crash though...
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index cbb71b2fc9e..46480a8b3de 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -1870,7 +1870,7 @@ static void ui_numedit_begin(uiBut *but, uiHandleButtonData *data)
if(but->type == BUT_CURVE) {
data->cumap= (CurveMapping*)but->poin;
- but->editcumap= data->coba;
+ but->editcumap= data->cumap;
}
else if(but->type == BUT_COLORBAND) {
data->coba= (ColorBand*)but->poin;