Skip to content

Creating model objects fails [Blender 2.69 backcompat issue] #102

Description

@JEphron

Our lab is using Blender 2.69 with Cellblender v1.0
I ran into an issue today when trying to create a model object. Got an error saying that ngon_method='BEAUTY' was not a valid kwarg. Traced it to this line:
https://github.com/mcellteam/cellblender/blob/master/cellblender_operators.py#L3484

According to the Blender API docs for 2.69, a different set of kwargs are used:

My solution was to swap out that line for the following:

bpy.ops.mesh.quads_convert_to_tris(use_beauty=True)

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