Blender Git Commit Log

Git Commits -> Revision 27231af

Revision 27231af by Campbell Barton (master)
December 13, 2021, 05:22 (GMT)
Cleanup: remove checks for invalid input for Python Run utilities

These arguments must be non-null for useful functionality,
there is no need for paranoid checks.

The return value in case of invalid input for BPY_run_string_as_number
was also wrong (casting -1 to a bool, when false was expected).

Commit Details:

Full Hash: 27231afce5e4d0832113415f4d3cdeed480b165f
Parent Commit: 80f1527
Lines Changed: +0, -6

1 Modified Path:

/source/blender/python/intern/bpy_interface_run.c (+0, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021