Commit b50701c3 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

BUG: Fixed type for vtkColor4d.

Thanks to David Gobbi for pointing out the error.

Change-Id: If2db78df87eeee3af894dc986dc5c7fb63e1262b
parent 65a75078
......@@ -231,7 +231,7 @@ public:
vtkColor4d() {}
explicit vtkColor4d(double scalar) : vtkColor4<double>(scalar) {}
explicit vtkColor4d(const double* init) : vtkColor4<double>(init) {}
vtkColor4d(double r, double g, double b, float a = 1.0)
vtkColor4d(double r, double g, double b, double a = 1.0)
: vtkColor4<double>(r, g, b, a) {}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment