Author: Carlos Lopez <[email protected]>
Date: Sun Mar 10 12:26:50 2013 +0100
Minor comments
---
synfig-core/src/synfig/target_tile.cpp | 1 +
synfig-studio/src/gui/workarea.h | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/synfig-core/src/synfig/target_tile.cpp
b/synfig-core/src/synfig/target_tile.cpp
index 18f44a9..0a7afb5 100644
--- a/synfig-core/src/synfig/target_tile.cpp
+++ b/synfig-core/src/synfig/target_tile.cpp
@@ -309,6 +309,7 @@ synfig::Target_Tile::render(ProgressCallback *cb)
// Set the time that we wish to render
//if(!get_avoid_time_sync() ||
canvas->get_time()!=t)
+ // Why the above line is commented here and not
in TargetScaline?
canvas->set_time(t);
Context context;
diff --git a/synfig-studio/src/gui/workarea.h b/synfig-studio/src/gui/workarea.h
index 667fe2f..4016648 100644
--- a/synfig-studio/src/gui/workarea.h
+++ b/synfig-studio/src/gui/workarea.h
@@ -191,7 +191,7 @@ private:
synfig::Real canvasheight; //!< Height of the canvas
synfig::Real pw; //!< The width of a
pixel
synfig::Real ph; //!< The height of a
pixel
- // float zoom, prev_zoom are declared in Duckmatic
+ // float zoom and prev_zoom are declared in Duckmatic
synfig::Point window_tl; //!< The (theoretical) top-left
corner of the view window
synfig::Point window_br; //!< The (theoretical)
bottom-right corner of the view window
@@ -236,12 +236,12 @@ private:
//Glib::RefPtr<Gdk::Pixbuf> pix_buf;
- //! This vector holds all of the tiles for this image
+ //! This vector holds all of the tiles for this frame
std::vector< std::pair<Glib::RefPtr<Gdk::Pixbuf>,int> > tile_book;
// This vector holds all the cairo surfaces for the frame
SurfaceBook cairo_book;
- //! This integer describes the total times that the work are has been
refreshed
+ //! This integer describes the total times that the work area has been
refreshed
int refreshes;
//! This list holds the queue of tiles that need to be rendered
@@ -263,7 +263,7 @@ private:
int dirty_trap_queued;
-
+ // This flag is set if onion skin is visible
bool onion_skin;
//! stores the future [1] and past [0] onion skins based on keyframes
int onion_skins[2];
@@ -497,7 +497,7 @@ public:
void zoom_out();
void zoom_fit();
void zoom_norm();
- float get_zoom()const { return zoom; }
+ float get_zoom()const { return zoom; } // zoom is declared in Duckmatic
void set_zoom(float z);
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl