State:New|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:374275|
Problem summary:
When arbitrary attibutes are set on a location, it will fail to display in Hydra, and the following error will be shown in the terminal:
[WARN plugins.HydraViewer.Delegate]: Location: /root/world/geo/primitive has invalid geometry. Reason: Arbitrary Geometry has no input type
This is a problem when using OpScript, as users can set attributes without explicitly specifying the type. The verification test should be able to deduce the type of the attribute from the values provided.
Steps to reproduce:
Expected behaviour:
Torus is always visible in Hydra
Actual behaviour:
Torus is only visible in Hydra when attribute types are specified.
Workaround:
When creating an arbitrary attribute make sure that 'inputType' field is set to a correct value. Example:
Interface.SetAttr("geometry.arbitrary.myColorArray.scope", StringAttribute("primitive"))Interface.SetAttr("geometry.arbitrary.myColorArray.value", FloatAttribute({0.1, 0.2, 0.3, 0.4, 0.5, 0.6}))Interface.SetAttr("geometry.arbitrary.myColorArray.inputType", StringAttribute("color3"))
Tested versions/platforms:
Customer version/platform:
3.0 and 3.1
We're sorry to hear that
Please tell us why