From a474125893bc5db227b1b5f90233bc51c89b5c68 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 18 Jul 2014 21:35:50 +0200 Subject: MBall cleanup: remove unused F_ERROR references, als fix/enhance BKE_mball_basis_find() BKE_mball_basis_find() was making a bunch of string manipulations for all MBall objects (including duplis), and then making a (broken!) check to do nothing in case of duplis mball! Now it makes correct check in early stage. --- source/blender/makesdna/DNA_scene_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesdna/DNA_scene_types.h') diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 6cf2b338308..c4c1736c058 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1620,8 +1620,8 @@ typedef enum eVGroupSelect { #define SCE_FRAME_DROP (1<<3) - /* return flag BKE_scene_base_iter_next function */ -#define F_ERROR -1 + /* return flag BKE_scene_base_iter_next functions */ +/* #define F_ERROR -1 */ /* UNUSED */ #define F_START 0 #define F_SCENE 1 #define F_DUPLI 3 -- cgit v1.2.3