Commit 3d488fb7 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Reordered some instructions in GenericOptionProperty<T> constructor to avoid...

Reordered some instructions in GenericOptionProperty<T> constructor to avoid unnecessary debug messages.
parent 665effae
......@@ -211,9 +211,9 @@ namespace campvis {
cgtAssert(count > 0, "The number of options must be greater 0.");
_options.assign(options, options + count);
setMinValue(0);
setMaxValue(count - 1);
setValue(0);
setMinValue(0);
}
template<typename T>
......
Markdown is supported
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