Blender Git Commits

Blender Git "master" branch commits.

Page: 4485 / 5574

December 8, 2009, 10:02 (GMT)
BGE: Add plot method to VideoTexture.ImageBuff class.

Synopsis: plot(brush,width,height,x,y,mode)
plot(imgbuff,x,y,mode)

The first form uses a byte array containing the brush shape.
The second form uses another ImageBuff object as a brush.
The ImageBuff object must be initialized before you can call
these methods. Use load(rgb_buffer,sizex,sizey) method to create
an image buffer of given size (with alpha channel set to 255).
The brush is plotted directly in the image buffer. The texture
is updated only when the VideoTexture.Texture parent object is
refreshed: this will download the image buffer to the GPU.

brush: Byte array containing RGBA data to be plotted in image buffer.
The data must be continuous in memory, organized row by row
starting from lower left corner of the image. Each pixel is
4 bytes representing RGBA data in that order.
width: Horizontal size in pixels of image in brush.
height: Vertical size in pixels of the image in brush.
imgbuff:Another ImageBuff object that is used as a brush. The object
must have been initialized first with load().
x: Horizontal position in pixel from left side of the image buffer
where the brush will be plotted. The brush is plotted on pixels
positions x->x+width-1. Clipping is performed if the brush falls
partially outside the image buffer.
y: Vertical position in pixel from bottom side of the image buffer
where the brush will be plotted.
mode: Mode of drawing. Use one of the following value:
0 : MIX
1 : ADD
2 : SUB
3 : MUL
4 : LIGHTEN
5 : DARKEN
6 : ERASE ALPHA
7 : ADD ALPHA
1000 : COPY RGBA (default)
1001 : COPY RGB
1002 : COPY ALPHA

Modes 0 to 7 are 'blend' modes: the brush pixels are combined
with the image pixel in various ways. Refer to Blender documentation
to learn more about these modes.
December 8, 2009, 09:58 (GMT)
OSX: Disable parallel openMP for elbeem library until a proper fix is found (currently makes fluid sim crash) (Bug# 20043)
Thx Jens Verwiebe for the investigation!
December 8, 2009, 09:40 (GMT)
- pyrna support for (value in array), currently only 1 dimensional arrays.
- use python malloc's in bpy_array.c
- automatically blending bone locations is disabled if the target bone has locked location
- neck had incorrect roll
Revision c146ce9 by Joshua Leung
December 8, 2009, 09:07 (GMT)
Quick ShapeKey Editor fix (i.e. submode of DopeSheet):

Switching to ShapeKey Editor mode now shows the sliders again
December 8, 2009, 08:58 (GMT)
BGE: add hitUV property to mouse focus sensor to return UV coordinates under mouse pointer. Useful for texture painting. More details in PyDoc.
December 8, 2009, 08:46 (GMT)
BGE: fix bug in mouse button release detection
December 8, 2009, 08:44 (GMT)
ImBuf: Fix bug in clipping
Revision 81a69bb by Matt Ebb
December 8, 2009, 07:12 (GMT)
Various changes to screen-related code, aiming to fix a few problems and usability issues with 'temp' screen layouts.

Now, temp screens are hidden from being accessed directly, with a new 'Back to Previous' button appearing in place of the screen menu when (for example) fullscreen render image areas are present. Window type menus also get disabled here too, to prevent things from getting too mixed up.
December 8, 2009, 07:11 (GMT)
white space commit (spaces -> tabs and clearing whitespace)
Revision 53f94f9 by Joshua Leung
December 8, 2009, 06:32 (GMT)
Animation Editors: Fixes for RNA/Python Bastardisation

Still not happy about the tight/regular-spacing imposed by the layout engine automation, but will tweak later.
December 8, 2009, 01:56 (GMT)
Wrong argument type for zoom operator.
December 8, 2009, 00:57 (GMT)
Few small things:

1. MSVC 9 projectfiles update (graph_header.c, action_header.c and nla_header.c removed)

2. Fix for opening the filebrowser when saving file for the first time (untitled.blend) from file menu

3. Add CROSS effect sequence type back to menu. (Durian fix)
Note: Removed SEQ_EFFECT from rna, since this no actual sequence type, but rather used to check for the effect bit.
December 7, 2009, 23:47 (GMT)
FIX for #20256 New folder doesn't rename
Note: did some refactoring and renaming of files to make code a bit clearer there too.

Also applies solution provided by Aurel W in patch #20264, thanks for submitting the patch.
Revision 3a95497 by Matt Ebb
December 7, 2009, 22:29 (GMT)
Remove 'temp' screens hanging around in files from older 2.5 versions
Revision 495cbc1 by Elia Sarti
December 7, 2009, 21:56 (GMT)
Forgot to remove these.
Revision b717493 by Elia Sarti
December 7, 2009, 21:51 (GMT)
Pythonazed DopeSheet and NLA editors headers UI.
December 7, 2009, 20:49 (GMT)
use the SUM driver type to avoid adding all values on each bone.

also avoids hitting the 255 string limit if you want to add 100's of values. eg.
>>> b05/max(0.001, [globals().update({"LOCALS":locals(), "ADD":float.__add__, "reduce":__import__("functools").reduce}), 0.0][1], max((, [LOCALS["b%.2d" % (i+1)] for i in range(5)])))

Since this more simple expression reaches the limit fairly quick...
>>> b05/max(0.001,b01+b02+b03+b04+b05)

December 7, 2009, 20:39 (GMT)
-noaudio option to force the sound system to None.

Useful when openAL is not setup properly (*cough* pulseaudio *cough) and prevents startup.

This doesn't actually affect the userpref option, so you can set it to whatever you want, save userprefs and restart.
December 7, 2009, 20:38 (GMT)
Sound system should only default to OpenAL if it is built (SDL if built otherwise).
December 7, 2009, 20:03 (GMT)
Text and Console operators don't need to register themselves. (this cleans the reports quite a bit)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021