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:
authorJoshua Leung <aligorith@gmail.com>2006-12-11 06:47:15 +0300
committerJoshua Leung <aligorith@gmail.com>2006-12-11 06:47:15 +0300
commitc41e0e205f81fa0ebe217350e1730e67f8be99c9 (patch)
tree24c8d26312d6e60393f903e60769eaac1e955548 /source/blender/src/editipo_mods.c
parentb69fdd21ba10194735f2526390077384bae54eba (diff)
A little bit of code cleanup:
* Moved BEZSELECTED macro to blendef.h as it is used in several files * Removed other duplicated macros
Diffstat (limited to 'source/blender/src/editipo_mods.c')
-rw-r--r--source/blender/src/editipo_mods.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/src/editipo_mods.c b/source/blender/src/editipo_mods.c
index b54ae5d4f01..1a9408500c4 100644
--- a/source/blender/src/editipo_mods.c
+++ b/source/blender/src/editipo_mods.c
@@ -74,13 +74,6 @@
#include "blendef.h"
#include "mydevice.h"
-/* copy from editipo.c */
-#define BEZSELECTED(bezt) (((bezt)->f1 & 1) || ((bezt)->f2 & 1) || ((bezt)->f3 & 1))
-
-#define ISPOIN(a, b, c) ( (a->b) && (a->c) )
-#define ISPOIN3(a, b, c, d) ( (a->b) && (a->c) && (a->d) )
-#define ISPOIN4(a, b, c, d, e) ( (a->b) && (a->c) && (a->d) && (a->e) )
-
extern int totipo_edit, totipo_sel, totipo_vertsel, totipo_vis;
void ipo_toggle_showkey(void)
@@ -157,7 +150,7 @@ void swap_selectall_editipo(void)
}
- BIF_undo_push("Swap select all Ipo");
+ BIF_undo_push("Swap Select All Ipo");
scrarea_queue_winredraw(curarea);
}