]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Add missing ValueType for G2D.Color 55/4355/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:45:08 +0000 (16:45 +0000)
gitlab #575

Change-Id: I32c0311d375365f7c42c20197c7f2f919329168e
(cherry picked from commit aae726bded7290935c256796fc87921f63787083)

bundles/org.simantics.g2d.ontology/graph/G2D.pgraph

index 4c44b6152372a26490808edc8da6251fad824e70..269f6a4fbe0a08f01f3dcbc0d0ed8d0c58b642d9 100644 (file)
@@ -212,7 +212,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