Skip to content
Snippets Groups Projects
Commit 0ceac891 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix uninitialised variable

parent 80dc8c35
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ Gradient::Gradient():
Gradient::Gradient(const String& name)
{
Gradient gradient = GradientManager::Instance().GetGradient(name);
hsv_mode_ = gradient.hsv_mode_;
// why doesn't this work:
// stops_=gradient.stops_
// or even better
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment