comment out debug_movie
This commit is contained in:
parent
51698ca6ac
commit
d84194871e
@ -19,7 +19,8 @@ QMAKE_LFLAGS += -Wl,-rpath,"'\$$ORIGIN/lib'"
|
|||||||
# Uncomment for verbose network logging
|
# Uncomment for verbose network logging
|
||||||
# DEFINES += DEBUG_NETWORK
|
# DEFINES += DEBUG_NETWORK
|
||||||
|
|
||||||
DEFINES += DEBUG_MOVIE
|
# Uncomment for verbose animation logging
|
||||||
|
# DEFINES += DEBUG_MOVIE
|
||||||
|
|
||||||
# Uncomment for building with debug symbols
|
# Uncomment for building with debug symbols
|
||||||
# CONFIG += debug
|
# CONFIG += debug
|
||||||
|
@ -320,10 +320,7 @@ void AOLayer::start_playback(QString p_image)
|
|||||||
for (int i = frame; i--;) {
|
for (int i = frame; i--;) {
|
||||||
if (i <= -1)
|
if (i <= -1)
|
||||||
break;
|
break;
|
||||||
QPixmap l_pixmap = this->get_pixmap(m_reader.read());
|
load_next_frame();
|
||||||
int l_delay = m_reader.nextImageDelay();
|
|
||||||
movie_frames.append(l_pixmap);
|
|
||||||
movie_delays.append(l_delay);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
last_path = p_image;
|
last_path = p_image;
|
||||||
|
Loading…
Reference in New Issue
Block a user