Skip to content

Missing Sofa.Component.Visual #131

@RafaelPalomar

Description

@RafaelPalomar

The following line can be problematic:

node.addObject('VisualStyle')

The reason is that the Sofa.Component.Visual plugin is not necessarily loaded at the time. The code loading the plugins is a few lines below (

for name in plugins:
confignode.addObject('RequiredPlugin', name=name, printLog=False)
). This will make an error, even in the user calling the function explicitly adds "Sofa.Component.Visual".

I would either remove this call if it's not strictly needed, or add the Sofa.Component.Visual plugin right before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions