[Bf-blender-cvs] [d1557c0] alembic_basic_io: Cleanup: indent.
Kévin Dietrich
noreply at git.blender.org
Mon Jul 18 08:51:18 CEST 2016
Commit: d1557c01435bc4ed84a875e7bf30f893309b940b
Author: Kévin Dietrich
Date: Mon Jul 18 08:50:42 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBd1557c01435bc4ed84a875e7bf30f893309b940b
Cleanup: indent.
===================================================================
M intern/cycles/blender/blender_mesh.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index d5fd139..17a9b60 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -727,7 +727,7 @@ static void sync_mesh_cached_velocities(BL::Object& b_ob, Scene *scene, Mesh *me
/* Only export previous and next frame, we don't have any in between data. */
float motion_times[2] = {-1.0f, 1.0f};
- for (int step = 0; step < 2; step++) {
+ for (int step = 0; step < 2; step++) {
const float relative_time = motion_times[step] * scene->motion_shutter_time() * 0.5f;
float3 *mP = attr_mP->data_float3() + step*numverts;
@@ -974,8 +974,8 @@ void BlenderSync::sync_mesh_motion(BL::Object& b_ob,
/* cached motion is exported immediate with mesh, skip here */
BL::MeshSequenceCacheModifier mesh_cache = object_mesh_cache_find(b_ob);
- if (mesh_cache)
- return;
+ if (mesh_cache)
+ return;
if(ccl::BKE_object_is_deform_modified(b_ob, b_scene, preview)) {
/* get derived mesh */
@@ -1062,7 +1062,7 @@ void BlenderSync::sync_mesh_motion(BL::Object& b_ob,
else if(time_index > 0) {
VLOG(1) << "Filling deformation motion for object " << b_ob.name();
/* motion, fill up previous steps that we might have skipped because
- * they had no motion, but we need them anyway now */
+ * they had no motion, but we need them anyway now */
float3 *P = &mesh->verts[0];
float3 *N = (attr_N)? attr_N->data_float3(): NULL;
More information about the Bf-blender-cvs
mailing list