Mercurial > MadButterfly
view inkscape/firefox/README @ 1205:1af64bcdfd7d
Move to MBScene._make_layers_integral()
- Old MBScene.parseScene()/create_framelines()/update_framelines() is
too fragile and inefficiently.
- MBScene._make_layers_integral() is more robust that
- separate logic into removing layer group nodes and adding layer
group nodes
- refactory code of create framelines and layers into methods
- it make logic into layers
- framelines and layers are incremental updated to avoid overhead
of creating/destroying all framelines and layer objects.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 03 Jan 2011 22:12:30 +0800 |
parents | 63aaf96209cd |
children |
line wrap: on
line source
Installation ======================================= (1) Install mozplugger (2) Install twisted & python (3) Install soappy (4) Install madbuilder.xpi How to execute the unit test ====================================== (1) Execute the proxy damon First of all, we need to execute the MadButterfly helper. This help will start the inkscape and then execute a SOAP proxy to wait for the commands from the web client. # python helper_mb.py (2) Use testsoap.py to send command to helper. # python testsoap.py START # python testsoap.py SCENE 1 # python testsoap.py PUBLISH