ID 250611 - Top-level null attributes are displayed as integers in the Attributes tab

Follow

Problem summary:

When a location has a top-level null attribute, the Attributes tab displays the attribute as if it's an integer attribute. This is a regression from 1.6v3

Steps to reproduce:

  1. Create LocationCreate and OpScript nodes, wired together
  2. View and edit the OpScript node
  3. Target the OpScript node to /root/world
  4. Set the script to:

    Interface.SetAttr("a1", NullAttribute())Interface.SetAttr("a2.b2", NullAttribute())Interface.SetAttr("a3.b3.c3", NullAttribute())
  5. In the Scene Graph tab, select /root/world

Expected behaviour:

The a1 attribute is not displayed in the Attributes tab

Actual behaviour:

The a1 attribute is displayed as locally set with a value of "0".

Reproduced versions/platforms:

  • 2.0v1
  • 2.5v5

Customer version/platform:

Not supplied

    We're sorry to hear that

    Please tell us why