11 years agoSequencer:
Brecht Van Lommel [Tue, 8 Dec 2009 13:57:51 +0000 (13:57 +0000)]
* Sound strips now respect metastrips for muting. That means they
  are muted if the metastrip is muted, and don't play when located
  outside of the current metastrip.
* Operators now use notifiers instead of redraw tagging, added a
  separate notifier for selection as well, but that is not used to
  do less redraws yet.

11 years agoUI: fix trailing tooltips when deactivating window, and when opening
Brecht Van Lommel [Tue, 8 Dec 2009 13:02:03 +0000 (13:02 +0000)]
UI: fix trailing tooltips when deactivating window, and when opening
right click menu. Added window deactivate event for this.

11 years agoRNA: added common sequencer properties notifiers/updates. Still some
Brecht Van Lommel [Tue, 8 Dec 2009 12:59:21 +0000 (12:59 +0000)]
RNA: added common sequencer properties notifiers/updates. Still some
updates missing.

11 years agoOSX: print warning if Blender application is located in a path Python lib can't handl...
Damien Plisson [Tue, 8 Dec 2009 12:16:34 +0000 (12:16 +0000)]
OSX: print warning if Blender application is located in a path Python lib can't handle (bug # 20258)

OSX allow file/directory names to contain ':' (displayed as '/' in Finder), and current Python lib (3.1.1) has trouble with those when importing modules.

Added warning message to help user understand why Blender start fails in this case.

11 years agocompile python driver expressions for faster re-evaluation.
Campbell Barton [Tue, 8 Dec 2009 10:36:46 +0000 (10:36 +0000)]
compile python driver expressions for faster re-evaluation.
approx 15-25x speedup

11 years agoBGE: Add plot method to VideoTexture.ImageBuff class.
Benoit Bolsee [Tue, 8 Dec 2009 10:02:22 +0000 (10:02 +0000)]
BGE: Add plot method to VideoTexture.ImageBuff class.

Synopsis: plot(brush,width,height,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.

11 years agoOSX: Disable parallel openMP for elbeem library until a proper fix is found (currentl...
Damien Plisson [Tue, 8 Dec 2009 09:58:42 +0000 (09:58 +0000)]
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!

11 years ago- pyrna support for (value in array), currently only 1 dimensional arrays.
Campbell Barton [Tue, 8 Dec 2009 09:40:30 +0000 (09:40 +0000)]
- 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

11 years agoQuick ShapeKey Editor fix (i.e. submode of DopeSheet):
Joshua Leung [Tue, 8 Dec 2009 09:07:20 +0000 (09:07 +0000)]
Quick ShapeKey Editor fix (i.e. submode of DopeSheet):

Switching to ShapeKey Editor mode now shows the sliders again

11 years agoBGE: add hitUV property to mouse focus sensor to return UV coordinates under mouse...
Benoit Bolsee [Tue, 8 Dec 2009 08:58:24 +0000 (08:58 +0000)]
BGE: add hitUV property to mouse focus sensor to return UV coordinates under mouse pointer. Useful for texture painting. More details in PyDoc.

11 years agoBGE: fix bug in mouse button release detection
Benoit Bolsee [Tue, 8 Dec 2009 08:46:07 +0000 (08:46 +0000)]
BGE: fix bug in mouse button release detection

11 years agoImBuf: Fix bug in clipping
Benoit Bolsee [Tue, 8 Dec 2009 08:44:18 +0000 (08:44 +0000)]
ImBuf: Fix bug in clipping

11 years agoVarious changes to screen-related code, aiming to fix a few problems and usability...
Matt Ebb [Tue, 8 Dec 2009 07:12:06 +0000 (07:12 +0000)]
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.

11 years agowhite space commit (spaces -> tabs and clearing whitespace)
Campbell Barton [Tue, 8 Dec 2009 07:11:43 +0000 (07:11 +0000)]
white space commit (spaces -> tabs and clearing whitespace)

11 years agoAnimation Editors: Fixes for RNA/Python Bastardisation
Joshua Leung [Tue, 8 Dec 2009 06:32:30 +0000 (06:32 +0000)]
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.

11 years agoWrong argument type for zoom operator.
Martin Poirier [Tue, 8 Dec 2009 01:56:01 +0000 (01:56 +0000)]
Wrong argument type for zoom operator.

11 years agoFew small things:
Andrea Weikert [Tue, 8 Dec 2009 00:57:14 +0000 (00:57 +0000)]
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.

11 years agoFIX for #20256 New folder doesn't rename
Andrea Weikert [Mon, 7 Dec 2009 23:47:37 +0000 (23:47 +0000)]
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.

11 years agoRemove 'temp' screens hanging around in files from older 2.5 versions
Matt Ebb [Mon, 7 Dec 2009 22:29:35 +0000 (22:29 +0000)]
Remove 'temp' screens hanging around in files from older 2.5 versions

11 years agoForgot to remove these.
Elia Sarti [Mon, 7 Dec 2009 21:56:25 +0000 (21:56 +0000)]
Forgot to remove these.

11 years agoPythonazed DopeSheet and NLA editors headers UI.
Elia Sarti [Mon, 7 Dec 2009 21:51:44 +0000 (21:51 +0000)]
Pythonazed DopeSheet and NLA editors headers UI.

11 years agouse the SUM driver type to avoid adding all values on each bone.
Campbell Barton [Mon, 7 Dec 2009 20:49:12 +0000 (20:49 +0000)]
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)

11 years ago-noaudio option to force the sound system to None.
Martin Poirier [Mon, 7 Dec 2009 20:39:57 +0000 (20:39 +0000)]
-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.

11 years agoSound system should only default to OpenAL if it is built (SDL if built otherwise).
Martin Poirier [Mon, 7 Dec 2009 20:38:09 +0000 (20:38 +0000)]
Sound system should only default to OpenAL if it is built (SDL if built otherwise).

11 years agoText and Console operators don't need to register themselves. (this cleans the report...
Martin Poirier [Mon, 7 Dec 2009 20:03:49 +0000 (20:03 +0000)]
Text and Console operators don't need to register themselves. (this cleans the reports quite a bit)

11 years agodriver type 'Sum'
Campbell Barton [Mon, 7 Dec 2009 19:59:04 +0000 (19:59 +0000)]
driver type 'Sum'

11 years agomissing null check from recent changes
Campbell Barton [Mon, 7 Dec 2009 19:49:14 +0000 (19:49 +0000)]
missing null check from recent changes

11 years agoParticles: bugfixes
Brecht Van Lommel [Mon, 7 Dec 2009 18:17:39 +0000 (18:17 +0000)]
Particles: bugfixes

* Don't show Apply as Shape for particle modifiers.
* Fix particles disappearing after exiting particle mode.
* Fix free edit not redrawing the 3d view.
* Fix use of uninitialized variable in layers template.

11 years agoUse custom cursor draw in transform to draw the new arrow cursors (to indicate direct...
Martin Poirier [Mon, 7 Dec 2009 18:10:11 +0000 (18:10 +0000)]
Use custom cursor draw in transform to draw the new arrow cursors (to indicate direction of motion for a particular transformations). This insures that it's drawn under the cursor and not far away when cursor is warped (rubber band still points to event location, this helps visualize too).

11 years agoCustom cursor draw function uses the real cursor position when cursor is grabbed...
Martin Poirier [Mon, 7 Dec 2009 18:08:19 +0000 (18:08 +0000)]
Custom cursor draw function uses the real cursor position when cursor is grabbed (and not the coordinates from the event). Drawing a custom cursor anywhere but on the real cursor is no good.

Also permit NULL poll function (equal to a function that always returns 1)

11 years agoFunction to access the real cursor position from Ghost (useful when cursor is grabbed...
Martin Poirier [Mon, 7 Dec 2009 18:06:37 +0000 (18:06 +0000)]
Function to access the real cursor position from Ghost (useful when cursor is grabbed and warped)

11 years agoFlag down a window when cursor is grabbed.
Martin Poirier [Mon, 7 Dec 2009 18:05:51 +0000 (18:05 +0000)]
Flag down a window when cursor is grabbed.

11 years agoParticles: child editing bugfixes
Brecht Van Lommel [Mon, 7 Dec 2009 17:55:58 +0000 (17:55 +0000)]
Particles: child editing bugfixes

* Make partial update work again for faster editing.
* Draw parents over children again, nicer for editing.
* Fix crash with remove tools & showing child particles.
* Fix children not disappearing always when setting to None.
* Fix wrong normal for last point in child path.
* Fix a python error in the hair dynamics panel.

11 years ago- bone.basename now only gets the name before the first '.', since names like finger...
Campbell Barton [Mon, 7 Dec 2009 17:21:30 +0000 (17:21 +0000)]
- bone.basename now only gets the name before the first '.', since names like finger.01.L are common
- updated delta not to remove a bone
- spine and neck rigs interpolation bones are now axis aligned to the control bone
- palm tag is expected on the pointer finger rather then the wrist
- operate on bone children first working up the chain (not essential but more pradictable)

11 years agoBugfix: WM could access freed memory when testing for click event after
Brecht Van Lommel [Mon, 7 Dec 2009 16:59:10 +0000 (16:59 +0000)]
Bugfix: WM could access freed memory when testing for click event after
opening a new file (and freeing the window and its event queue).

11 years agocrashfix, duplicating armatures with ID-Props assigned to the bones didnt copy the...
Campbell Barton [Mon, 7 Dec 2009 15:54:27 +0000 (15:54 +0000)]
crashfix, duplicating armatures with ID-Props assigned to the bones didnt copy the bone.

11 years ago- string copy without .py wasnt terminating the string
Campbell Barton [Mon, 7 Dec 2009 14:09:53 +0000 (14:09 +0000)]
- string copy without .py wasnt terminating the string
- console import autocomplete wasnt including modules defined in C like BGL, Mathutils

11 years agopep8 compliance cleanups.
Elia Sarti [Mon, 7 Dec 2009 12:11:28 +0000 (12:11 +0000)]
pep8 compliance cleanups.

11 years agoPorting of Graph Editor's UI to python, just header done for now.
Elia Sarti [Mon, 7 Dec 2009 11:50:05 +0000 (11:50 +0000)]
Porting of Graph Editor's UI to python, just header done for now.
Brecht, I added a Layout template function, template_dopesheet_filter -> uiTemplateDopeSheetFilter, this creates the group of buttons for filtering ID type (and some other options) for animation editors (Graph, NLA and Dopesheet). I hope this is all right, if not, we can move this maybe to a .py file as a function for reuse.

11 years agoTalked with Aligorith and made changes as follows to DopeSheet struct:
Elia Sarti [Mon, 7 Dec 2009 11:02:59 +0000 (11:02 +0000)]
Talked with Aligorith and made changes as follows to DopeSheet struct:
* Removed only_drivers, this is an internal flag
* Corrected notifiers

11 years ago[#20021] Non-ASCII characters on blender 2.5 alpha 0
Campbell Barton [Mon, 7 Dec 2009 10:41:16 +0000 (10:41 +0000)]
[#20021] Non-ASCII characters on blender 2.5 alpha 0
could not redo the bug on my system, fix suggested by Yomgui on blendercoders.

11 years agoFix for [#20159] Orthographic camera + viewport
Matt Ebb [Mon, 7 Dec 2009 10:40:55 +0000 (10:40 +0000)]
Fix for [#20159] Orthographic camera + viewport

Patch provided by Aurel W. Thanks!

11 years agoFix for [#20286] New objects have no Display Type
Matt Ebb [Mon, 7 Dec 2009 10:28:36 +0000 (10:28 +0000)]
Fix for [#20286] New objects have no Display Type

Removed a few more references to shaded mode

11 years agoFix for [#19541] Buttons etc that are too close to the window edge don't react to...
Matt Ebb [Mon, 7 Dec 2009 10:22:58 +0000 (10:22 +0000)]
Fix for [#19541] Buttons etc that are too close to the window edge don't react to input

11 years agoFix for [#20057] Shift F for setting brush strenght can never get to 1
Matt Ebb [Mon, 7 Dec 2009 03:37:43 +0000 (03:37 +0000)]
Fix for [#20057] Shift F for setting brush strenght can never get to 1

11 years agouse sets rather then tuples for enum/flags so you can use bitfield operators
Campbell Barton [Mon, 7 Dec 2009 02:20:55 +0000 (02:20 +0000)]
use sets rather then tuples for enum/flags so you can use bitfield operators

11 years agoAdded icons to a few RNA properties.
Elia Sarti [Mon, 7 Dec 2009 01:26:34 +0000 (01:26 +0000)]
Added icons to a few RNA properties.

11 years agoTweaks to the fading behaviour of 3d view grid subdivs, somewhat fix for
Matt Ebb [Mon, 7 Dec 2009 00:50:40 +0000 (00:50 +0000)]
Tweaks to the fading behaviour of 3d view grid subdivs, somewhat fix for
[#20246] grid subdivisionns doesn't works

11 years agorna flag PROP_ENUM_FLAG which makes rna props a tuple of enums when converted into...
Campbell Barton [Mon, 7 Dec 2009 00:16:57 +0000 (00:16 +0000)]
rna flag PROP_ENUM_FLAG which makes rna props a tuple of enums when converted into a PyObject
only used by wm.invoke_props_popup() currently

11 years agoFixed operator name typo.
Elia Sarti [Mon, 7 Dec 2009 00:11:17 +0000 (00:11 +0000)]
Fixed operator name typo.

11 years agoFinished wrapping SpaceGraph in RNA and also wrapped bDopeSheet in the process. Some...
Elia Sarti [Sun, 6 Dec 2009 22:28:59 +0000 (22:28 +0000)]
Finished wrapping SpaceGraph in RNA and also wrapped bDopeSheet in the process. Some descriptions might be slightly off, feel free to check.

11 years agoLoop cut and edge ring select only have an invoke and require view3d, so change poll...
Martin Poirier [Sun, 6 Dec 2009 17:38:39 +0000 (17:38 +0000)]
Loop cut and edge ring select only have an invoke and require view3d, so change poll function to reflect that (and not, you know, crash...).

11 years agoText change: Loopcut -> Loop Cut
Martin Poirier [Sun, 6 Dec 2009 17:36:27 +0000 (17:36 +0000)]
Text change: Loopcut -> Loop Cut

11 years agoAssorted warning and comment fixes
Joshua Leung [Sun, 6 Dec 2009 09:37:31 +0000 (09:37 +0000)]
Assorted warning and comment fixes

11 years agowm.invoke_popup(op, width, height) similar to wm.invoke_props_popup(op, event) except...
Campbell Barton [Sun, 6 Dec 2009 04:35:00 +0000 (04:35 +0000)]
wm.invoke_popup(op, width, height) similar to wm.invoke_props_popup(op, event) except it doesnt use undo/redo (UI's need to execute operators themselves)

11 years agoremove nasty hack which made StructRNA class instaces have no __dict__,
Campbell Barton [Sat, 5 Dec 2009 23:41:45 +0000 (23:41 +0000)]
remove nasty hack which made StructRNA class instaces have no __dict__,
use __slots__, it seems all the parent classes need to have slots as well for this to work.
all python defined srna classes are checked for this too

11 years agopep8 edits and fix some warnings
Campbell Barton [Sat, 5 Dec 2009 22:03:07 +0000 (22:03 +0000)]
pep8 edits and fix some warnings

11 years ago2.5 Nodes:
Thomas Dinges [Sat, 5 Dec 2009 21:54:46 +0000 (21:54 +0000)]
2.5 Nodes:
* Node listener missed "ND_SHADING_DRAW".

11 years ago2.5 Nodes:
Thomas Dinges [Sat, 5 Dec 2009 21:14:31 +0000 (21:14 +0000)]
2.5 Nodes:
* Wrapped Texture Nodes: "Blend", "Marble", "Wood", "Clouds", and "Distorted Noise", to use Texture RNA properties.
* Texture RNA properties used in these Nodes, now send an ND_NODE notifier, in addition to the general NC_TEXTURE.

11 years agofixes for automatic tests and some errors in last commit
Campbell Barton [Sat, 5 Dec 2009 20:45:51 +0000 (20:45 +0000)]
fixes for automatic tests and some errors in last commit

11 years ago[#20266] Blender starting without X11 segfaults
Martin Poirier [Sat, 5 Dec 2009 20:06:19 +0000 (20:06 +0000)]
[#20266] Blender starting without X11 segfaults

Abort when ghost x11 cannot initialize a display.

It would just crash later anyway, better to abort with a reasonable error message.

11 years agoSupport for the C Macro system in Python.
Martin Poirier [Sat, 5 Dec 2009 19:27:26 +0000 (19:27 +0000)]
Support for the C Macro system in Python.

Basic definition works like a python operator but you derive from "bpy.types.Macro" instead.
Operators are added to the macro after it has been added with "bpy.ops.add_macro" through the class method "define" which takes an operator id and returns an OperatorMacroType (new RNA type) for which properties can then be defined to be passed to the operator when run.


Using this system, it should be easy to add an operator to the console that converts selected lines into a macro or even a more generic record macro system.

11 years agosplit up metarig hierarchy evaluation and modifying the metarig into 2 steps,
Campbell Barton [Sat, 5 Dec 2009 19:26:28 +0000 (19:26 +0000)]
split up metarig hierarchy evaluation and modifying the metarig into 2 steps,
original bone names cant be changed anymore but this means the bones can be re-parented without confusing scripts that run after the rig is modified.
support for defining a bone to have multiple types and  automatically blending between 2 generated rigs

11 years agoMacros in macro didn't work correctly.
Martin Poirier [Sat, 5 Dec 2009 19:05:21 +0000 (19:05 +0000)]
Macros in macro didn't work correctly.

11 years agosimple fix [#20218] Object.is_visible() don't reflect visibility
Campbell Barton [Sat, 5 Dec 2009 14:12:06 +0000 (14:12 +0000)]
simple fix [#20218] Object.is_visible() don't reflect visibility

11 years agoBGE fix for GameLogic["post_draw"] not working with 2DFilters
Dalai Felinto [Sat, 5 Dec 2009 02:30:20 +0000 (02:30 +0000)]
BGE fix for GameLogic["post_draw"] not working with 2DFilters
(reported by Mike Pan(mpan3), it's not in the tracker)

11 years ago* enabled COLLADA for mingw. (Compiles at least with MingW GCC 3.4.2).
Nathan Letwory [Sat, 5 Dec 2009 01:24:45 +0000 (01:24 +0000)]
* enabled COLLADA for mingw. (Compiles at least with MingW GCC 3.4.2).

11 years ago* proper SSE setting for mingw.
Nathan Letwory [Sat, 5 Dec 2009 01:07:42 +0000 (01:07 +0000)]
* proper SSE setting for mingw.
* some cleanup of render module SConscript

11 years ago* provide SCons support to enabling jaguarandi SIMD raytracer optimizations for real :)
Nathan Letwory [Sat, 5 Dec 2009 00:26:20 +0000 (00:26 +0000)]
* provide SCons support to enabling jaguarandi SIMD raytracer optimizations for real :)
  Until now only SSE switches were defined, but to really enjoy the SIMD structures, the
  __SSE__ define needs to be given. This can now be done with setting in your


  (or WITH_BF_RAYOPTIMIZATION=1 on command-line)

11 years agoChanges to netrender baking operator.
Martin Poirier [Fri, 4 Dec 2009 19:13:22 +0000 (19:13 +0000)]
Changes to netrender baking operator.

Force step of 1 for full baking.

11 years agoNull check for baking progressend function
Martin Poirier [Fri, 4 Dec 2009 19:08:07 +0000 (19:08 +0000)]
Null check for baking progressend function

Simplify end of line for console progress.

11 years agoSave_Mainfile operator only needs window for invoke. Removed poll function and replac...
Martin Poirier [Fri, 4 Dec 2009 19:07:25 +0000 (19:07 +0000)]
Save_Mainfile operator only needs window for invoke. Removed poll function and replace by a check in invoke that cancels if no window is present.

Makes it possible to be called in background mode.

11 years agoFix for [#20144] Game physics panel - softbody allows other collision bounds.
Thomas Dinges [Fri, 4 Dec 2009 19:06:17 +0000 (19:06 +0000)]
Fix for [#20144] Game physics panel - softbody allows other collision bounds.

11 years agoString fix and a bunch of PEP8 issues I had collected in the meanwhile.
Guillermo S. Romero [Fri, 4 Dec 2009 17:54:48 +0000 (17:54 +0000)]
String fix and a bunch of PEP8 issues I had collected in the meanwhile.

11 years agotouches for demo'ing
Campbell Barton [Fri, 4 Dec 2009 16:35:31 +0000 (16:35 +0000)]
touches for demo'ing

11 years agoUI: curve widget tweaks
Brecht Van Lommel [Fri, 4 Dec 2009 15:32:26 +0000 (15:32 +0000)]
UI: curve widget tweaks
* Make snap ctrl instead of shift
* Only enable snapping after moving a few pixels,
  otherwise too easy to do enable this by accident.
* Deselecting points with shift did not work.

11 years agoBGE: Add option to return UV coordinates aofthe hit point to KX_GameObject::rayCast...
Benoit Bolsee [Fri, 4 Dec 2009 11:27:40 +0000 (11:27 +0000)]
BGE: Add option to return UV coordinates aofthe hit point to KX_GameObject::rayCast(). Details in PyDoc.

11 years agoUpdate MSVC9 project files
Benoit Bolsee [Fri, 4 Dec 2009 10:45:23 +0000 (10:45 +0000)]
Update MSVC9 project files

11 years agoUpdate MSVC9 project files
Benoit Bolsee [Fri, 4 Dec 2009 10:37:24 +0000 (10:37 +0000)]
Update MSVC9 project files

11 years agoThis commit deletes temporary "temp" screen layouts when the windows using them get...
Joshua Leung [Fri, 4 Dec 2009 09:58:00 +0000 (09:58 +0000)]
This commit deletes temporary "temp" screen layouts when the windows using them get closed.

11 years agoFix for [#20203] Linked objects - A few bugs
Matt Ebb [Fri, 4 Dec 2009 06:33:01 +0000 (06:33 +0000)]
Fix for [#20203] Linked objects - A few bugs

Did a lot of cleaning Object operator poll functions to check if the object's linked
or not. For this, added the function ED_operator_object_active_editable() as
opposed to ED_operator_object_active()

11 years agoFix for [#20157] 2.5 Can`t remove a linked objects from the 3D view by pressing X
Matt Ebb [Fri, 4 Dec 2009 05:05:50 +0000 (05:05 +0000)]
Fix for [#20157] 2.5 Can`t remove a linked objects from the 3D view by pressing X

11 years agoFix for [#19958] Changes in UV/Image editor doesn't refresh mapping on mesh in 3dview...
Matt Ebb [Fri, 4 Dec 2009 04:56:42 +0000 (04:56 +0000)]
Fix for [#19958] Changes in UV/Image editor doesn't refresh mapping on mesh in 3dview immediately

Enabled 'update automatically' (lock) in image editors by default
Also enabled transform manipulators by default, unfortunately missed for alpha 0 release.

11 years agoFix for [#19921] pressing NumpadDot on isolated mode centers the 3D cursor
Matt Ebb [Fri, 4 Dec 2009 04:41:32 +0000 (04:41 +0000)]
Fix for [#19921] pressing NumpadDot on isolated mode centers the 3D cursor

11 years ago* Fix for incorrect disabling after baking cloth sim
Matt Ebb [Fri, 4 Dec 2009 04:28:50 +0000 (04:28 +0000)]
* Fix for incorrect disabling after baking cloth sim
* Fix for time cursor getting 'stuck' after baking point caches

11 years agoBugfixes: Deleting Keyframes + F-Curves
Joshua Leung [Fri, 4 Dec 2009 03:51:52 +0000 (03:51 +0000)]
Bugfixes: Deleting Keyframes + F-Curves

This commit fixes #19908 and #20239. Deleting keyframes will now delete the F-Curves they came from too, if the F-Curves don't have any more keyframes and/or F-Modifiers providing any further motion info.

11 years agorna function
Campbell Barton [Fri, 4 Dec 2009 02:32:34 +0000 (02:32 +0000)]
rna function
 editbone.align(vector), to align the bones z axis to a localspace direction.

finished leg rig pose mode data

11 years agoFix for [#19884] Curve resolution slider not affecting anything
Matt Ebb [Fri, 4 Dec 2009 01:38:36 +0000 (01:38 +0000)]
Fix for [#19884] Curve resolution slider not affecting anything

11 years agoFix for cache path.
Martin Poirier [Fri, 4 Dec 2009 01:28:00 +0000 (01:28 +0000)]
Fix for cache path.
Operator for background baking (no support in netrender itself yet).

11 years agoPrint baking progress to console when window is not available.
Martin Poirier [Fri, 4 Dec 2009 01:26:42 +0000 (01:26 +0000)]
Print baking progress to console when window is not available.

11 years agoCleaning: update a couple of functions to use scene from context instead of from...
Martin Poirier [Fri, 4 Dec 2009 01:25:43 +0000 (01:25 +0000)]
Cleaning: update a couple of functions to use scene from context instead of from screen.

11 years agoPartial fix for [#19874]
Matt Ebb [Fri, 4 Dec 2009 01:21:55 +0000 (01:21 +0000)]
Partial fix for [#19874]
can use RMB to cancel joining areas, same as splitting

11 years agoFix for [#20229] Booleans crash on edge case.
Matt Ebb [Fri, 4 Dec 2009 00:54:40 +0000 (00:54 +0000)]
Fix for [#20229] Booleans crash on edge case.

11 years agoFix for [#19478] Shortkeys for switch to Quad view mode is not working
Matt Ebb [Fri, 4 Dec 2009 00:49:02 +0000 (00:49 +0000)]
Fix for [#19478] Shortkeys for switch to Quad view mode is not working

changed default quad view shortcut to Ctrl Alt Q

11 years agoOnly set baking progress function to cursor when a window is present.
Martin Poirier [Thu, 3 Dec 2009 22:48:00 +0000 (22:48 +0000)]
Only set baking progress function to cursor when a window is present.

This enables baking in background mode (instead of just crashing).

11 years agoleg rig type & metarig example, still need to add IK's
Campbell Barton [Thu, 3 Dec 2009 22:44:11 +0000 (22:44 +0000)]
leg rig type & metarig example, still need to add IK's
fixed some small bugs too.

11 years agoFinish renaming job in Set Center operator to use Origin instead of Center.
Martin Poirier [Thu, 3 Dec 2009 21:56:04 +0000 (21:56 +0000)]
Finish renaming job in Set Center operator to use Origin instead of Center.

Also replace ObData by Geometry and Object Geometry after talk with Matt.

11 years ago- property decorators for setting attributes didnt work, hack to prevent every instan...
Campbell Barton [Thu, 3 Dec 2009 21:53:01 +0000 (21:53 +0000)]
- property decorators for setting attributes didnt work, hack to prevent every instance of an BPyStructRNA to have its own dictionary, set the tp_dictoffset to 0. attempted to use __slots__ but this doesnt work for some reason.
- made bone.length writable

11 years agoFix for [#20240] Image inputs to the compositor are white when using color management
Matt Ebb [Thu, 3 Dec 2009 21:49:29 +0000 (21:49 +0000)]
Fix for [#20240] Image inputs to the compositor are white when using color management

was missing include

11 years agoMake toggle and hold snap method cohabit nicely.
Martin Poirier [Thu, 3 Dec 2009 19:18:00 +0000 (19:18 +0000)]
Make toggle and hold snap method cohabit nicely.

Shift-Tab toggles the global toolsetting snap settings (both in and out of transform).
Holding down Ctrl inverts the snap setting in transform (turns it on when global snap is off and vice versa).
Ctrl-Shift-Tab to select snap mode (only outside of transform for now).

For old (pre 2.5) behavior, just keep global snap off and use Ctrl.

NOTE: transform modal events for snap have change a bit, saved keymap might not work anymore.