cosmetic - this code isn't used anyway, surface inspector logic has moved to a plugin?

This commit is contained in:
Timothee "TTimo" Besset 2013-07-07 08:08:38 -05:00
parent 6326d84195
commit c93f7a1ecc
2 changed files with 42 additions and 45 deletions

View file

@ -279,9 +279,7 @@ static gint OnDialogKey( GtkWidget* widget, GdkEventKey* event, gpointer data ){
if ( g_dlgSurface.m_bEditingTextureWidget ) {
OnApply( NULL, NULL );
g_dlgSurface.m_bEditingTextureWidget = false;
}
else
{
} else {
OnDone( NULL, NULL );
}
return TRUE;

View file

@ -28,8 +28,7 @@
//#define DBG_SI 1
#endif
class SurfaceDlg : public Dialog
{
class SurfaceDlg : public Dialog {
bool m_bPatchMode;
// brush primitive fake shift scale rot coords
float m_shift[2];
@ -63,7 +62,7 @@ void BuildDialog();
public:
// called to perform a fitting from the outside (shortcut key)
void FitAll();
GtkWidget *GetWidget(); // { return m_pWidget; }
GtkWidget *GetWidget();
};
#endif // _SURFACEDIALOG_H_