[Bf-blender-cvs] [e937ddff12e] temp-sybren-usd-patch-01: USD: Clarified some comments, distinguish Hydra from USDViewer

Sybren A. Stüvel noreply at git.blender.org
Tue Nov 26 18:23:05 CET 2019


Commit: e937ddff12eb0ada454f32cd647ab1ac7b9a60a5
Author: Sybren A. Stüvel
Date:   Tue Nov 26 16:44:54 2019 +0100
Branches: temp-sybren-usd-patch-01
https://developer.blender.org/rBe937ddff12eb0ada454f32cd647ab1ac7b9a60a5

USD: Clarified some comments, distinguish Hydra from USDViewer

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

M	source/blender/usd/intern/usd_writer_light.cc

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

diff --git a/source/blender/usd/intern/usd_writer_light.cc b/source/blender/usd/intern/usd_writer_light.cc
index 7fbffb11951..3fe78984f69 100644
--- a/source/blender/usd/intern/usd_writer_light.cc
+++ b/source/blender/usd/intern/usd_writer_light.cc
@@ -90,12 +90,12 @@ void USDLightWriter::do_write(HierarchyContext &context)
       BLI_assert(!"is_supported() returned true for unsupported light type");
   }
 
-  /* Scale factor to get to somewhat-similar illumination. Since the Hydra viewport had similar
+  /* Scale factor to get to somewhat-similar illumination. Since the USDViewer had similar
    * over-exposure as Blender Internal with the same values, this code applies the reverse of the
    * versioning code in light_emission_unify(). */
   float usd_intensity;
   if (light->type == LA_SUN) {
-    /* Untested, as the Hydra GL viewport doesn't support distant lights. */
+    /* Untested, as the Hydra GL viewport of USDViewer doesn't support distant lights. */
     usd_intensity = light->energy;
   }
   else {



More information about the Bf-blender-cvs mailing list