From b1fcb254c48d14fed31f315ca84830a2d5f78788 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sat, 8 Mar 2008 03:02:36 +0000 Subject: [PATCH] * Clicking on constraint-buttons should now result in updates in the 3d-view without needing to move the mouse into the 3d-view first * Added missing include --- source/blender/src/buttons_object.c | 2 ++ source/blender/src/transform_conversions.c | 1 + 2 files changed, 3 insertions(+) diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 00c456cd429..8fb4fab4a92 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -1838,6 +1838,8 @@ void do_constraintbuts(unsigned short event) switch(event) { case B_CONSTRAINT_TEST: + allqueue(REDRAWVIEW3D, 0); + allqueue(REDRAWBUTSOBJECT, 0); break; // no handling case B_CONSTRAINT_INF: /* influence; do not execute actions for 1 dag_flush */ diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c index afd799ed8b8..3912ca3453e 100644 --- a/source/blender/src/transform_conversions.c +++ b/source/blender/src/transform_conversions.c @@ -113,6 +113,7 @@ #include "BIF_meshtools.h" #include "BIF_mywindow.h" #include "BIF_resources.h" +#include "BIF_retopo.h" #include "BIF_screen.h" #include "BIF_space.h" #include "BIF_toolbox.h"