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

Sybren A. Stüvel noreply at git.blender.org
Thu Nov 28 17:56:19 CET 2019


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

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