Archive for April, 2009

First task

Ok, the first target: smart tangents linking. Generally it is pita to link red tangent to yellow. You should use scale(-1) convert to achieve that. The goal is to make this handled with grace.

I found what even if I implement that, converting tangent to Scale makes it unmoveable. There is no reverse manipulations supported for scale converts. So here’s my plan:

  1. Find a way to make scale convert support reverse manipulations.
  2. Find a way to insert additional converts in special cases at the moment of invoking “Link” command.
  3. Find a way to insert “Link inverse” menu item to context menu.

K, let’s start from the first item. I found no references to reverse manipulations inside of core/src/valuenode_scale.cpp. I’ve started to inspect commit 80031a8a28bb53f89ad750ec94a1b447b419d616.

It seems I will need to add


to synfig-studio/trunk/src/synfigapp/instance.cpp.

Scale convert have two parameters. I need to set which one to change during reverse manipulation. Looks like a hint how to do that is here.


Comments (1)

Fetching sources

There are two main synfig source repositories – git and svn. Most development happens in git, but it looks like svn is not yet abandoned. The bad thing what repositories are diverged. Looks like there should be some work done on git->svn migration.

So, I fetched git sources. There are some problems in git repository:
* SVN tags are not completely converted into git tags – they are still exist as directories in git tree. As result, the source tree is HUGE.
* There is no “master” branch in git yet.
Those problems are easy to fix, but it is not a priority now. Just noted as todo.

Things to be done:

  • merge svn repo int git
  • adjust git tags
  • make “master” branch

Comments (2)

Hello world!

Hello! This is my starting point on hacking Synfig. I plan to put here my random notes on progress. Have no much time on coding, no experience in C/C++, only desire to change things. Let’s see what I’m come up with…

Leave a Comment