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:
authorMartin Poirier <theeth@yahoo.com>2005-03-28 04:56:00 +0400
committerMartin Poirier <theeth@yahoo.com>2005-03-28 04:56:00 +0400
commit927425608cfeabba4f212736cea09067fb0e4123 (patch)
tree20b9018a4f8c1993925bfa7c6dcea72e9fa7e857 /source/blender/src/editmball.c
parent9f2f13aa99255e4d525f9b6d990625627ac53310 (diff)
Alright, this hopefully fixes some problems with the last transform commit.
Replaced old transform call when extruding and duplicating. Added a CTX_NOPET context flag for extrude. This is done rather a bit hackishly in Transform right now, better to do it with a on/off pet flag in TransInfo and check that everywhere instead. Made sure transinfo Ext was initialised at NULL (I'm pretty sure it was in another spot, but LetterRip reported some crash leading me to believe that it might not be all the time. Better be safe than sorry). Connected PET for curves uses the real distance for the fall off calculations now.
Diffstat (limited to 'source/blender/src/editmball.c')
-rw-r--r--source/blender/src/editmball.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editmball.c b/source/blender/src/editmball.c
index d4529028f03..e68d8665949 100644
--- a/source/blender/src/editmball.c
+++ b/source/blender/src/editmball.c
@@ -58,6 +58,7 @@
#include "BIF_toolbox.h"
#include "BIF_space.h"
#include "BIF_editmode_undo.h"
+#include "BIF_transform.h"
#include "BDR_editobject.h"
#include "BDR_editmball.h"
@@ -302,7 +303,7 @@ void adduplicate_mball()
ml= ml->prev;
}
- transform('g');
+ Transform(TFM_TRANSLATION, CTX_NOPET);
allqueue(REDRAWBUTSEDIT, 0);
}