[Bf-blender-cvs] [e2a783f8eb8] universal-scene-description: USD export: fixed linux an mac compile error.

Michael Kowalski noreply at git.blender.org
Tue Oct 26 03:10:03 CEST 2021


Commit: e2a783f8eb8d097e83a417b418aa0b3508ac4600
Author: Michael Kowalski
Date:   Mon Oct 25 20:52:20 2021 -0400
Branches: universal-scene-description
https://developer.blender.org/rBe2a783f8eb8d097e83a417b418aa0b3508ac4600

USD export: fixed linux an mac compile error.

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

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

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

diff --git a/source/blender/io/usd/intern/usd_writer_abstract.cc b/source/blender/io/usd/intern/usd_writer_abstract.cc
index dd007e12f89..4988e2e7fee 100644
--- a/source/blender/io/usd/intern/usd_writer_abstract.cc
+++ b/source/blender/io/usd/intern/usd_writer_abstract.cc
@@ -65,7 +65,7 @@ bool set_vec_attrib(const pxr::UsdPrim &prim,
     return false;
   }
 
-  VECT vec_value(static_cast<VECT::ScalarType*>(prop->data.pointer));
+  VECT vec_value(static_cast<typename VECT::ScalarType*>(prop->data.pointer));
 
   return vec_attr.Set(vec_value, timecode);
 }



More information about the Bf-blender-cvs mailing list