Thanks aesylwinn,aesylwinn wrote: 1. Get rid of the static constants definitions in the header and source files.
2. #include "../../model/prefs/state.hpp"
3. Replace constant definitions with state retrieval like so in the member functions:Just to note, this method will not resize already existing markers. You will have to re-select the object.Code: Select all
const float MarkerShaftWidth = CSMPrefs::get()["General Input"]["MarkerShaftWidth"].toDouble();
That was the nudge I needed to get me moving the right direction. Works great.
Considering this wasn't possible at all, as the markers obscured smaller objects, selecting the object after making manual changes to marker scaling values isn't much of a problem. So, how much trouble is it to determine the distance from the object to the camera, in order to add an autoscaling factor?
Thanks!