Skip to content

Check return from Attribute::associatedObjects() for nullptr

You can crash modelbuilder by loading the Truchas template without any models loaded. (The attribute panel will crash when it is displayed.) The problem traces back to the fact that Attribute::associatedObjects() returns a null pointer if there are no model resources. This mod checks for the nullptr case.

Merge request reports