[Bf-blender-cvs] [45e2c12124e] geometry-nodes: Geometry Nodes: Fix building in Mac

Dalai Felinto noreply at git.blender.org
Fri Nov 27 19:06:39 CET 2020


Commit: 45e2c12124e5d4268f0e1c0fa43cae380bac7fad
Author: Dalai Felinto
Date:   Fri Nov 27 19:05:34 2020 +0100
Branches: geometry-nodes
https://developer.blender.org/rB45e2c12124e5d4268f0e1c0fa43cae380bac7fad

Geometry Nodes: Fix building in Mac

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

M	source/blender/blenkernel/BKE_attribute_access.hh

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

diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh
index 4dc5708ac70..e58fba36342 100644
--- a/source/blender/blenkernel/BKE_attribute_access.hh
+++ b/source/blender/blenkernel/BKE_attribute_access.hh
@@ -194,7 +194,7 @@ template<typename T> class TypedReadAttribute {
   /* Get a span to that contains all attribute values for faster and more convenient access. */
   Span<T> get_span() const
   {
-    return attribute_->get_span().typed<T>();
+    return attribute_->get_span().template typed<T>();
   }
 };



More information about the Bf-blender-cvs mailing list