]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Add missing ValueType for G2D.Color 42/4342/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 9 Jul 2020 16:36:53 +0000 (19:36 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 9 Jul 2020 16:36:53 +0000 (19:36 +0300)
gitlab #575

Change-Id: I32c0311d375365f7c42c20197c7f2f919329168e

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