* Merge trunk up to r39790.

* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.
This commit is contained in:
2011-08-30 08:22:03 +00:00
180 changed files with 6289 additions and 1990 deletions

View File

@@ -800,8 +800,7 @@ static void ui_add_smart_controller(bContext *C, uiBut *from, uiBut *to)
if(!act_iter) return;
/* (3) add a new controller */
if (WM_operator_name_call(C, "LOGIC_OT_controller_add", WM_OP_EXEC_DEFAULT, NULL) & OPERATOR_FINISHED)
{
if (WM_operator_name_call(C, "LOGIC_OT_controller_add", WM_OP_EXEC_DEFAULT, NULL) & OPERATOR_FINISHED) {
cont = (bController *)ob->controllers.last;
/* (4) link the sensor->controller->actuator */