Skip to content

the _fn parameter is completely ignored in M3dRenderer mode #7

Description

@igorkll

in M3dRenderer mode, the _fn parameter is completely ignored. what's in global mode, what if passed to a specific object.
the only way I've found is this:

orig_cylinder = M3dRenderer.cylinder

def hooked_cylinder(self, *func_args, **func_kwargs):
    func_kwargs["fn"] *= quality_multiplier
    return orig_cylinder(self, *func_args, **func_kwargs)

M3dRenderer.cylinder = hooked_cylinder

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions