× Components and Libraries for Graphics Development, discussions, problems and suggestions.

Question Problem with gradient in the brush editor ORCA2D

  • Jean-Philippe FABRE
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 4 months ago #11540 by Jean-Philippe FABRE
Problem with gradient in the brush editor ORCA2D was created by Jean-Philippe FABRE
In the brush editor form il you choose gradient, the start point or the end point can be deleted
then you have only one point to draw the gradient so it becomes unusable.
I believe that it can be fixed in the orcad2_scene.pas:
procedure TD2GradientEdit.MouseUp(Button:TMouseButton; Shift:TShiftState; X,Y:single);

by changing the line 34495:
if (Y > Height + 10) and (FGradient.Points.Count > 1) then ....

to
if (Y > Height + 10) and (FGradient.Points.Count > 2) then....

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 4 months ago #11541 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problem with gradient in the brush editor ORCA2D
Thanks Sir
we add your fix to Lab CT 6.50

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.