blender.git
10 years ago2.5 User Preferences:
Thomas Dinges [Tue, 8 Dec 2009 19:08:35 +0000 (19:08 +0000)]
2.5 User Preferences:
* Massive Code Cleanup, still not "Layout Code Guidelines" conform, but much better.

* Commented out buttons that don't work yet, like translation buttons.
* Some minor shuffling around of buttons in "System" Tab. William: Feel free to modify that, still some room for improvements. :)

10 years agoAnimation System: Handling Updates
Brecht Van Lommel [Tue, 8 Dec 2009 18:28:09 +0000 (18:28 +0000)]
Animation System: Handling Updates

* Added ANIM_list_elem_update and ANIM_id_update functions to call when
  changing animation curves, which will then call the RNA property update
  functions for those curves.

  This is to replace just calling DAG_id_flush_update, that may not always
  be the right thing to do, and doesn't send proper notifiers for redraw.

  Still only used/usable when transforming in the graph editor, not sure
  how this do this with NLA for example, .. needs to be improved.

* Added function wm_data_handle_update function to contain the object
  update function, and also added scene animation update there. Actually
  it should be doing all datablocks, this makes it work for sequencer.

Joshua, do you agree this is the right direction to go in? I can revert or
change the code if you think it should be done differently. Mainly wanted
to get this working well for sequencer now.

10 years agoSequencer: comment out unimplemented operator to avoid error print.
Brecht Van Lommel [Tue, 8 Dec 2009 18:09:08 +0000 (18:09 +0000)]
Sequencer: comment out unimplemented operator to avoid error print.

10 years agoRNA functions to find keymaps in a keyconfig (from the usual idname + space or modal...
Martin Poirier [Tue, 8 Dec 2009 18:02:50 +0000 (18:02 +0000)]
RNA functions to find keymaps in a keyconfig (from the usual idname + space or modal keymaps from operator id)

10 years agoImage Paint keymap in image editor wasn't looked up with the space type.
Martin Poirier [Tue, 8 Dec 2009 17:37:31 +0000 (17:37 +0000)]
Image Paint keymap in image editor wasn't looked up with the space type.

10 years agoRNA:
Brecht Van Lommel [Tue, 8 Dec 2009 17:23:48 +0000 (17:23 +0000)]
RNA:

* Property update functions no longer get context, instead they get only
  Main and Scene. The RNA api was intended to be as context-less as
  possible, since it doesn't really matter who is changing the property,
  everything that uses the property should be updated.
* There's still one exception case that use it now, screen operations
  still depend on context too much. It also revealed a few places using
  context where they shouldn't.
* Ideally Scene shouldn't be passed, but much of Blender still depends on
  it, should be dropped when we try to support multiple scene editing.

Change was planned for a while, but need this now to be able to call
update without a context pointer.

10 years ago- modify for Cessens updated spine
Campbell Barton [Tue, 8 Dec 2009 17:00:53 +0000 (17:00 +0000)]
- modify for Cessens updated spine
- Neck example didnt account for some possible problems when linking to the body
- foot IK were referencing the wrong bones
- updated some example rigs
- graph constraint arrow direction was incorrect

10 years agoslow print, only debug mode
Campbell Barton [Tue, 8 Dec 2009 16:39:00 +0000 (16:39 +0000)]
slow print, only debug mode

10 years agounwrap was unwrapping all faces rather then just the selected ones
Campbell Barton [Tue, 8 Dec 2009 15:20:57 +0000 (15:20 +0000)]
unwrap was unwrapping all faces rather then just the selected ones

10 years agominor fixes
Campbell Barton [Tue, 8 Dec 2009 14:02:06 +0000 (14:02 +0000)]
minor fixes

10 years agoSequencer:
Brecht Van Lommel [Tue, 8 Dec 2009 13:57:51 +0000 (13:57 +0000)]
Sequencer:
* 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.

10 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.

10 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.

10 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.

10 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

10 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)
          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.

10 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!

10 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

10 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

10 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.

10 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

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

10 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.

10 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)

10 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.

10 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.

10 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.

10 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.

10 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

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

10 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.

10 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)

10 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.

10 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).

10 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)

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

10 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

10 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.

10 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).

10 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)

10 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)

10 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.

10 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.

10 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)

10 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).

10 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.

10 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

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

10 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.

10 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

10 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.

10 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!

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

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

10 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.

10 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...).

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

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

10 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)

10 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

10 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

10 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".

10 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.

10 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

10 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.

10 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.

Example: http://blenderartists.org/~theeth/bf/macro.py

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.

10 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

10 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.

10 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

10 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)

10 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).

10 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

10 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 user-config.py

          WITH_BF_RAYOPTIMIZATION=True

  (or WITH_BF_RAYOPTIMIZATION=1 on command-line)

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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.

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

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

10 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.

10 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()

10 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

10 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.

10 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

10 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

10 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.

10 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

10 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

10 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).

10 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.