Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
8ef2596a
Commit
8ef2596a
authored
Oct 03, 2015
by
Maxime Perrotin
Browse files
Add debug information
parent
3b991980
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
8ef2596a
...
...
@@ -572,6 +572,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
def
refresh
(
self
):
''' Refresh the symbols and connections in the scene '''
LOG
.
debug
(
'scene refresh'
)
for
symbol
in
self
.
visible_symb
:
symbol
.
updateConnectionPointPosition
()
symbol
.
updateConnectionPoints
()
...
...
@@ -1332,6 +1333,7 @@ class SDL_View(QtGui.QGraphicsView, object):
def
refresh
(
self
):
''' Refresh the complete view '''
LOG
.
debug
(
'view refresh'
)
self
.
scene
().
refresh
()
self
.
setSceneRect
(
self
.
scene
().
sceneRect
())
self
.
viewport
().
update
()
...
...
@@ -1526,6 +1528,7 @@ class SDL_View(QtGui.QGraphicsView, object):
# Avoid doing it when editing texts - it would prevent text
# selection or cursor move
if
not
isinstance
(
self
.
scene
().
focusItem
(),
EditableText
):
LOG
.
debug
(
'mouseRelease refresh'
)
self
.
refresh
()
super
(
SDL_View
,
self
).
mouseReleaseEvent
(
evt
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment