We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f18445c commit 38322ceCopy full SHA for 38322ce
2 files changed
docs/notes/bugfix-11367.md
@@ -0,0 +1 @@
1
+# Gradient inspector does not draw fully
engine/src/graphicscontext.cpp
@@ -578,7 +578,8 @@ void MCGraphicsContext::getmiterlimit(real8 &r_limit)
578
579
void MCGraphicsContext::setgradient(MCGradientFill *p_gradient)
580
{
581
- if (p_gradient != NULL && p_gradient -> kind != kMCGradientKindNone)
+ // MM-2013-10-32: [[ Bug 11367 ]] Added check to make sure ramp lenght isn't 0. Was causing issues with gradient inspector.
582
+ if (p_gradient != NULL && p_gradient -> kind != kMCGradientKindNone && p_gradient -> ramp_length != 0)
583
584
MCGGradientFunction t_function;
585
t_function = kMCGGradientFunctionLinear;
0 commit comments