Skip to content

Clamp brush opacity after pressure modifiers - #2100

Draft
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/2084-brush-opacity-clamp
Draft

Clamp brush opacity after pressure modifiers#2100
Loggableim wants to merge 1 commit into
armory3d:mainfrom
Loggableim:fix/2084-brush-opacity-clamp

Conversation

@Loggableim

Copy link
Copy Markdown

Summary

  • clamp final brush opacity after node and pressure multipliers
  • clamp the decal cursor preview through the same range
  • add focused regression checks

Root cause

Brush opacity could exceed 1.0 after pressure and node multipliers, producing invalid paint and preview opacity.

Validation

  • python paint/tests/test_issue_2084.py
  • Local native project generation is currently blocked by the bundled amake stack-overflow error; GitHub platform builds will provide compile validation.

Fixes #2084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Brush opacity can exceed 1.0 causing weird painting behavior

1 participant