Page MenuHome

Disable curve map & profile zoom buttons when appropriate
ClosedPublic

Authored by Colin Basnett (cmbasnett) on Oct 14 2022, 3:17 AM.
Subscribers
None
Tokens
"Like" token, awarded by pablovazquez."Love" token, awarded by charlie."Like" token, awarded by JulienKaspar.

Details

Summary

This diff disables the zoom in and out buttons on the "curve map" (e.g., Float Curve node) and the "curve profile" (e.g., bevel curve profile) when they would have no effect.

This also removes an incorrect comment that indicates the maximum zoom level was 20x when in fact it was 25x.

The magic zoom factor has been moved to a #define named CURVE_ZOOM_MAX.

BeforeAfter

Diff Detail

Repository
rB Blender