cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

FieldIf doesn't report value type of source fields 2, 3 #214

Closed rchristie closed 2 years ago

rchristie commented 2 years ago

A conditional field using a real/bool value for truth condition should delegate to any value type of source fields 2 and 3, which must match e.g. these could be string or mesh location as well as real. Field.getValueType() is reporting real type for such fields. This makes the conditional field not work with Fieldassignment.