[Bf-blender-cvs] [567c76b8a0f] usd-importer-T81257-merge: USD importer: fix comments style.

makowalski noreply at git.blender.org
Mon Jul 19 06:27:35 CEST 2021


Commit: 567c76b8a0f4a065fe4e71a8096c08d3e97fc8f9
Author: makowalski
Date:   Sun Jul 18 20:57:44 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rB567c76b8a0f4a065fe4e71a8096c08d3e97fc8f9

USD importer: fix comments style.

===================================================================

M	source/blender/io/usd/intern/usd_reader_nurbs.cc

===================================================================

diff --git a/source/blender/io/usd/intern/usd_reader_nurbs.cc b/source/blender/io/usd/intern/usd_reader_nurbs.cc
index 26d586796c6..c4f05115c7c 100644
--- a/source/blender/io/usd/intern/usd_reader_nurbs.cc
+++ b/source/blender/io/usd/intern/usd_reader_nurbs.cc
@@ -127,14 +127,14 @@ void USDNurbsReader::read_curve_sample(Curve *cu, const double motionSampleTime)
   pxr::VtVec3fArray usdNormals;
   curve_prim_.GetNormalsAttr().Get(&usdNormals, motionSampleTime);
 
-  // If normals, extrude, else bevel
-  // Perhaps to be replaced by Blender/USD Schema
+  /* If normals, extrude, else bevel.
+   * Perhaps to be replaced by Blender USD Schema. */
   if (usdNormals.size() > 0) {
-    // Set extrusion to 1.0f;
+    /* Set extrusion to 1. */
     curve_->ext1 = 1.0f;
   }
   else {
-    // Set bevel depth to 1.0f;
+    /* Set bevel depth to 1. */
     curve_->ext2 = 1.0f;
   }



More information about the Bf-blender-cvs mailing list