Skip to content

Commit

Permalink
Fix OptimizerSurfaceResample
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwarthog committed Mar 22, 2016
1 parent a3287c1 commit f1808f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -63,6 +63,10 @@ OptimizerSurfaceResample::run(const RunParams& params) const
{
TaskSurfaceResample::Handle resample = new TaskSurfaceResample();
assign(resample, Task::Handle(transformation));
resample->init_target_rect(
transformation->get_target_rect(),
transformation->get_source_rect_lt(),
transformation->get_source_rect_rb() );
resample->transformation = affine->matrix;
apply(params, resample);
}
Expand Down
2 changes: 1 addition & 1 deletion synfig-core/src/synfig/rendering/renderer.cpp
Expand Up @@ -67,7 +67,7 @@ using namespace rendering;
//#define DEBUG_TASK_LIST
#define DEBUG_TASK_MEASURE
//#define DEBUG_TASK_SURFACE
//#define DEBUG_OPTIMIZATION
#define DEBUG_OPTIMIZATION
//#define DEBUG_OPTIMIZATION_EACH_CHANGE
//#define DEBUG_OPTIMIZATION_MEASURE
//#define DEBUG_OPTIMIZATION_COUNTERS
Expand Down

0 comments on commit f1808f8

Please sign in to comment.