Skip to content

pi, tau etc not parsed as constants #3

@stibinator

Description

@stibinator

In Blender 4.2 LTS the constants pi and tau are not recognised, but are treated like variable names.

To reproduce: Use expression x * pi + tau in the editor
Expected: node tree with multiply/add node with an input from variable x and either 3.141592 in the multiplication parameter and 6.283185 in the addition parameter, or value nodes with the appropriate values connected to the multiply add node.
Observed Multiply/add node with three variable noodles labelled x, pi, tau

It's not terrible, the easy workaround is to add a value node with pi or tau to connect to the appropriate noodle, but it seems that it should be something this addon should do.

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