[Bf-committers] improved "Screencast keys" addon module

Knapp magick.crow at gmail.com
Mon Sep 5 23:46:56 CEST 2011


It would not hurt to make the mouse middle rotation up and down show
up on the mouse graphic.
Thanks for the cool work. I will use this in my next Tut!

On Mon, Sep 5, 2011 at 11:31 PM, Jass <gaia.clary at machinimatrix.org> wrote:
> Hi, all;
>
> I have done a little bit of work to the screencast add on so that it
> better fits my needs. The improved version is here:
>
> http://www.pasteall.org/24634
>
> It has following differences compared to the original:
>
> 1.) x,y are now in % instead of absolute pixel (0-100%)
> Benefits:
> - The mouse and the text can no longer be placed
> outside the 3D view
> - When i place the mouse near the center (54% is my
> favorite value) then it keeps near the center when i resize
> the window.
>
> 2.) I have separated the font size and the mouse size.
> Benefit: I can make a huge font and keep the mouse small
> at the same time.
>
> 3.) I have moved the attribute storage from the Window Manager
> to the context.scene
> Benefit: When i store my blend file, my screencast settings
> get also stored. Not: I have kept the run status in the window
> Manager because it make no sense to keep that persistent.
>
> 4.) I have renamed the attributes by prepending the string
> "screencast_keys" to all of them. Such minimizing possible clashes
> with other add ons, which might also use context.screen as
> storage location.
>
> 5.) I have added a bit of code for a bounding box, but i disabled
> that code by commenting it out. Maybe i want to improve the
> Display a bit more later. On the other hand i guess it's better to not
> add fancy stuff so that blender doesn't get slowed down ?
>
> 6.) I have also added the most recent patch (from nazgul?)
> to avoid crashes.
>
> I hope the modifications are somewhat usefull and i would be happy
> if this small contribution is of value to some of you. Thank you to
> all who have helped me to survive in the python cage ;-)
>
> thanks,
> Gaia
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
Douglas E Knapp

Creative Commons Film Group, Helping people make open source movies
with open source software!
http://douglas.bespin.org/CommonsFilmGroup/phpBB3/index.php

Massage in Gelsenkirchen-Buer:
http://douglas.bespin.org/tcm/ztab1.htm
Please link to me and trade links with me!

Open Source Sci-Fi mmoRPG Game project.
http://sf-journey-creations.wikispot.org/Front_Page
http://code.google.com/p/perspectiveproject/


More information about the Bf-committers mailing list