VIEWTYPE g_clip_viewtype;
bool g_bSwitch = true;
bool g_clip_useCaulk = false;
+bool g_quick_clipper = false;
ClipPoint g_Clip1;
ClipPoint g_Clip2;
ClipPoint g_Clip3;
g_Clip3.Reset();
Clip_Update();
ClipperChangeNotify();
+ if( g_quick_clipper ){
+ g_quick_clipper = false;
+ ClipperMode();
+ }
}
}
g_Clip3.Reset();
Clip_Update();
ClipperChangeNotify();
+ if( g_quick_clipper ){
+ g_quick_clipper = false;
+ ClipperMode();
+ }
}
}
return RAD_LBUTTON;
}
+unsigned int Clipper_quick_buttons(){
+ return RAD_RBUTTON | RAD_CONTROL;
+}
+
void XYWnd::DropClipPoint( int pointx, int pointy ){
Vector3 point;
else if ( buttons == Zoom_buttons() ) {
Zoom_Begin();
}
- else if ( ClipMode() && buttons == Clipper_buttons() ) {
+ else if ( ClipMode() && ( buttons == Clipper_buttons() || buttons == Clipper_quick_buttons() ) ) {
+ Clipper_OnLButtonDown( x, y );
+ }
+ else if ( !ClipMode() && buttons == Clipper_quick_buttons() ) {
+ ClipperMode();
+ g_quick_clipper = true;
Clipper_OnLButtonDown( x, y );
}
else if ( buttons == NewBrushDrag_buttons() && GlobalSelectionSystem().countSelected() == 0 ) {
else if ( m_zoom_started ) {
Zoom_End();
}
- else if ( ClipMode() && buttons == Clipper_buttons() ) {
+ else if ( ClipMode() && ( buttons == Clipper_buttons() || buttons == Clipper_quick_buttons() ) ) {
Clipper_OnLButtonUp( x, y );
}
else if ( m_bNewBrushDrag ) {