Gui: Transform dragger fix lint warnings
This commit is contained in:
@@ -1058,8 +1058,8 @@ SoFCCSysDragger::SoFCCSysDragger()
|
||||
|
||||
// Colors
|
||||
setAxisColors(
|
||||
SbColor(1.0, 0, 0).getPackedValue(0.0f),
|
||||
SbColor(0, 1.0, 0).getPackedValue(0.0f),
|
||||
SbColor(1.0, 0, 0).getPackedValue(0.0f),
|
||||
SbColor(0, 1.0, 0).getPackedValue(0.0f),
|
||||
SbColor(0, 0, 1.0).getPackedValue(0.0f)
|
||||
);
|
||||
|
||||
@@ -1475,7 +1475,7 @@ void SoFCCSysDragger::setAxisColors(unsigned long x, unsigned long y, unsigned l
|
||||
color->rgb.setValue(colorZ[0], colorZ[1], colorZ[2]);
|
||||
}
|
||||
|
||||
// Visiblity API Functions
|
||||
// Visibility API Functions
|
||||
|
||||
// Translator
|
||||
void SoFCCSysDragger::showTranslationX()
|
||||
|
||||
@@ -94,7 +94,7 @@ private:
|
||||
* 'translationIncrementYCount' multiplied with
|
||||
* 'translationIncrement' for a full double
|
||||
* precision vector scalar.
|
||||
*
|
||||
*
|
||||
* @author qewer33
|
||||
*/
|
||||
class TPlanarDragger : public SoDragger
|
||||
|
||||
@@ -139,8 +139,8 @@ bool ViewProviderDragger::setEdit(int ModNum)
|
||||
assert(!csysDragger);
|
||||
csysDragger = new SoFCCSysDragger();
|
||||
csysDragger->setAxisColors(
|
||||
Gui::ViewParams::instance()->getAxisXColor(),
|
||||
Gui::ViewParams::instance()->getAxisYColor(),
|
||||
Gui::ViewParams::instance()->getAxisXColor(),
|
||||
Gui::ViewParams::instance()->getAxisYColor(),
|
||||
Gui::ViewParams::instance()->getAxisZColor()
|
||||
);
|
||||
csysDragger->draggerSize.setValue(0.05f);
|
||||
|
||||
Reference in New Issue
Block a user