Blender Git Commit Log

Git Commits -> Revision 8034b27

Revision 8034b27 by Jacques Lucke (master)
March 29, 2021, 08:54 (GMT)
Fix T86876: cannot modify float properties of geometry nodes modifier from Python

Previously, the code expected the id property to have the `IDP_FLOAT` type.
However, when assigning a Python float (which is a double internally)
to an id property, it would change the type to `IDP_DOUBLE`.
The fix is to allow both types in the geometry nodes modifier.

Commit Details:

Full Hash: 8034b276ba6c5369a356a1b8f5e858305f8b47b9
Parent Commit: fa1569a
Lines Changed: +9, -2

1 Modified Path:

/source/blender/modifiers/intern/MOD_nodes.cc (+9, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021