Fixed terrain painting unwanted scrolling on show
This commit is contained in:
parent
41cc8787ac
commit
eb837ef3bd
4 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ win32:LIBS += ../libpaysages.a ../libpaysages_exploring.a -lDevIL -lILU -lILUT -
|
|||
TRANSLATIONS = $$PROJECT_PATH/data/i18n/paysages_fr.ts
|
||||
|
||||
HEADERS += \
|
||||
widgetheightmap.h \
|
||||
terrain/widgetheightmap.h \
|
||||
widgetexplorer.h \
|
||||
widgetcurveeditor.h \
|
||||
tools.h \
|
||||
|
@ -73,7 +73,7 @@ HEADERS += \
|
|||
common/previewrenderer.h
|
||||
|
||||
SOURCES += \
|
||||
widgetheightmap.cpp \
|
||||
terrain/widgetheightmap.cpp \
|
||||
widgetexplorer.cpp \
|
||||
widgetcurveeditor.cpp \
|
||||
tools.cpp \
|
||||
|
|
|
@ -789,7 +789,7 @@
|
|||
<customwidget>
|
||||
<class>WidgetHeightMap</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgetheightmap.h</header>
|
||||
<header>terrain/widgetheightmap.h</header>
|
||||
<container>1</container>
|
||||
<slots>
|
||||
<signal>heightmapChanged()</signal>
|
||||
|
|
|
@ -35,8 +35,8 @@ QGLWidget(parent)
|
|||
_average_frame_time = 0.0;
|
||||
|
||||
_last_brush_action = 0;
|
||||
_last_mouse_x = 0;
|
||||
_last_mouse_y = 0;
|
||||
_last_mouse_x = 250;
|
||||
_last_mouse_y = 250;
|
||||
_last_time = QDateTime::currentDateTime();
|
||||
_mouse_moved = false;
|
||||
|
Loading…
Reference in a new issue