Map Object plug-in fails in GIMP 2.10.28-32
Environment/Versions
- GIMP version: 2.10.28, 2.10.30, 2.10.32
- Package: Installer DMG downloaded directly from gimp.org
- Operating System: macOS Mojave 10.14.6
pdb.plug_in_map_object call from Python-Fu script results in error shown on screenshot: Description of the bug
- Type of mapping: 2 (box)
- It fails for some combination of Object/Viewpoint positions, like these:
- Position of viewpoint: 0.50, 0.50, 2.00
- Object position: 0.50, 0.46, 0.00
- It works fine, if I decrease viewpoint_y value, like this: 0.50, 0.42, 2.00
- It works fine, if I increase position_y value, like this: 0.50, 0.50, 0.00
- It works fine if using UI (with any Object/Viewpoint positions I need).
- It works fine in GIMP versions 2.10.12, 2.10.22, 2.10.24 (these I tested myself).
- It fails starting from GIMP 2.10.28, when use Python-Fu console.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open Python-Fu console.
- Try to call pdb.plug_in_map_object to render cube. Script example: gimp-cube.py
…
Expected result: New layer with rendered box, like this:
Actual result: Error "RuntimeError: Procedure 'plug-in-map-object' returned no return values", as shown on the screenshot above.
Additional information
If you have a backtrace for a crash or a warning, paste it here.