[Bf-blender-cvs] [12b74bae3af] imm_port_wm_playanim: fix ps->go = false;
Germano Cavalcante
noreply at git.blender.org
Wed Apr 5 07:22:38 CEST 2017
Commit: 12b74bae3af019f4a2d3839e53775c5c943e9d90
Author: Germano Cavalcante
Date: Wed Apr 5 02:22:17 2017 -0300
Branches: imm_port_wm_playanim
https://developer.blender.org/rB12b74bae3af019f4a2d3839e53775c5c943e9d90
fix ps->go = false;
===================================================================
M source/blender/windowmanager/intern/wm_playanim.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index 7271ba796cb..4e7fb9a7159 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -1480,6 +1480,9 @@ static bool wm_main_playanim_intern(const char *filepath, int sfra, int efra, Pl
/* early exit, IMB and BKE should be exited only in end */
if (ps->dropped_file[0]) {
BLI_strncpy(filepath, ps->dropped_file, sizeof(char) * FILE_MAX);
+ ps->go = true;
+ ps->direction = 1;
+
return true;
}
@@ -1501,7 +1504,7 @@ void WM_main_playanim(int argc, const char **argv)
PlayState ps = {0};
ps.go = true;
- ps.direction = true;
+ ps.direction = 1;
ps.next_frame = 1;
ps.zoom = 1.0f;
ps.fstep = 1;
More information about the Bf-blender-cvs
mailing list