]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.g2d.ontology/graph/G2D.pgraph
Add missing ValueType for G2D.Color
[simantics/platform.git] / bundles / org.simantics.g2d.ontology / graph / G2D.pgraph
index ce06a4109e47fe1c9b94b25e6cfd0f267554264a..b08fbdaaedafe459f24ae90a5e18698fcbf2e4b1 100644 (file)
@@ -210,7 +210,9 @@ G2D.HasVerticalAlignment <R L0.IsRelatedTo : L0.FunctionalRelation
 
 G2D.Color <T L0.Literal
     @L0.assert L0.HasDataType $(Float[4])
+    @L0.assert L0.HasValueType "Vector Float"
     L0.HasDescription "A 4-component BGRA color as floats."
+    
 G2D.HasColor <R L0.HasProperty : L0.FunctionalRelation
     L0.HasLabel "Color"
     --> G2D.Color