Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_rendering_string: don't use 'source.Proxy.type' attr to choose RenderHandler #193

Merged
merged 1 commit into from
Jun 11, 2022

Commits on Jun 10, 2022

  1. get_rendering_string: don't use 'source.Proxy.type' attr to chose Ren…

    …derHandler
    
    Scripted objects can create/set arbitrary attributes in their Proxy
    objects. Formerly, if an object's Proxy had a 'type' attribute, it would
    be used to determine which Rendering Handler should be used. This behaviour
    caused errors e.g. for FastenersWB objects, which used the type param
    to indicate the specification of a fastener.
    
    This commit changes the behaviour of the get_rendering_string function
    to check if an object needs a specific handler using the Proxy's python type.
    alexneufeld committed Jun 10, 2022
    Configuration menu
    Copy the full SHA
    44ae1a6 View commit details
    Browse the repository at this point in the history