* [TD]Add view snapping preferences * [TD]fix section snapping algo - snap sections to section normal line. - snap views to other views in X&Y * [TD]fix snapping to ProjectionGroups
This commit is contained in:
@@ -599,3 +599,16 @@ bool Preferences::alwaysShowLabel()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("AlwaysShowLabel", false);
|
||||
}
|
||||
|
||||
bool Preferences::SnapViews()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetBool("SnapViews", true);
|
||||
}
|
||||
|
||||
//! percentage of view size to use in deciding to snap view or not
|
||||
double Preferences::SnapLimitFactor()
|
||||
{
|
||||
return getPreferenceGroup("General")->GetFloat("SnapLimitFactor", 0.05);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user