Commit: 9ca6ac793267dd581f5efd02832baf382ee2d117
Author: Sybren A. Stüvel
Date: Thu Jul 11 17:25:36 2019 +0200
Branches: sybren-usd
https://developer.blender.org/rB9ca6ac793267dd581f5efd02832baf382ee2d117
USD: Add missing curly braces
No functional changes.
===================================================================
M source/blender/usd/intern/usd_capi.cc
===================================================================
diff --git a/source/blender/usd/intern/usd_capi.cc
b/source/blender/usd/intern/usd_capi.cc
index a39f7a2f98d..36bc20aae0f 100644
--- a/source/blender/usd/intern/usd_capi.cc
+++ b/source/blender/usd/intern/usd_capi.cc
@@ -122,8 +122,9 @@ static void export_startjob(void *customdata, short *stop,
short *do_update, flo
float progress_per_frame = 0.8f / std::max(1, (scene->r.efra -
scene->r.sfra + 1));
for (float frame = scene->r.sfra; frame <= scene->r.efra; frame++) {
- if (G.is_break)
+ if (G.is_break) {
break;
+ }
printf("\033[35;1mFRAME\033[0m %f\n", frame);
// Update the scene for the next frame to render.
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs