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.
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).
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)
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)
Martin Poirier [Mon, 7 Dec 2009 18:05:51 +0000 (18:05 +0000)]
Flag down a window when cursor is grabbed.
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.
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)
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).
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.
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
Elia Sarti [Mon, 7 Dec 2009 12:11:28 +0000 (12:11 +0000)]
pep8 compliance cleanups.
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.
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
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.
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!
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
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
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
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
Elia Sarti [Mon, 7 Dec 2009 01:26:34 +0000 (01:26 +0000)]
Added icons to a few RNA properties.
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
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
Elia Sarti [Mon, 7 Dec 2009 00:11:17 +0000 (00:11 +0000)]
Fixed operator name typo.
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.
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...).
Martin Poirier [Sun, 6 Dec 2009 17:36:27 +0000 (17:36 +0000)]
Text change: Loopcut -> Loop Cut
Joshua Leung [Sun, 6 Dec 2009 09:37:31 +0000 (09:37 +0000)]
Assorted warning and comment fixes
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)
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
Campbell Barton [Sat, 5 Dec 2009 22:03:07 +0000 (22:03 +0000)]
pep8 edits and fix some warnings
Thomas Dinges [Sat, 5 Dec 2009 21:54:46 +0000 (21:54 +0000)]
2.5 Nodes:
* Node listener missed "ND_SHADING_DRAW".
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.
Campbell Barton [Sat, 5 Dec 2009 20:45:51 +0000 (20:45 +0000)]
fixes for automatic tests and some errors in last commit
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.
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.
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
Martin Poirier [Sat, 5 Dec 2009 19:05:21 +0000 (19:05 +0000)]
Macros in macro didn't work correctly.
Campbell Barton [Sat, 5 Dec 2009 14:12:06 +0000 (14:12 +0000)]
simple fix [#20218] Object.is_visible() don't reflect visibility
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)
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).
Nathan Letwory [Sat, 5 Dec 2009 01:07:42 +0000 (01:07 +0000)]
* proper SSE setting for mingw.
* some cleanup of render module SConscript
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)
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.
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.
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.
Thomas Dinges [Fri, 4 Dec 2009 19:06:17 +0000 (19:06 +0000)]
Fix for [#20144] Game physics panel - softbody allows other collision bounds.
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.
Campbell Barton [Fri, 4 Dec 2009 16:35:31 +0000 (16:35 +0000)]
touches for demo'ing
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.
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.
Benoit Bolsee [Fri, 4 Dec 2009 10:45:23 +0000 (10:45 +0000)]
Update MSVC9 project files
Benoit Bolsee [Fri, 4 Dec 2009 10:37:24 +0000 (10:37 +0000)]
Update MSVC9 project files
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.
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()
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
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.
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
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
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.
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
Matt Ebb [Fri, 4 Dec 2009 01:38:36 +0000 (01:38 +0000)]
Fix for [#19884] Curve resolution slider not affecting anything
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).
Martin Poirier [Fri, 4 Dec 2009 01:26:42 +0000 (01:26 +0000)]
Print baking progress to console when window is not available.
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.
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
Matt Ebb [Fri, 4 Dec 2009 00:54:40 +0000 (00:54 +0000)]
Fix for [#20229] Booleans crash on edge case.
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
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).
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.
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.
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
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
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.
William Reynish [Thu, 3 Dec 2009 16:28:50 +0000 (16:28 +0000)]
Added Toggle Full Screen and Duplicate Area to the menus of all the main spaces in Blender
Campbell Barton [Thu, 3 Dec 2009 14:20:35 +0000 (14:20 +0000)]
- curve geometry curve panel wasnt displaying with no active spline
- graph export didnt work for constraints with no subtarget
- utility functions for duplicating a set of bones and blending between 2 sets
Damien Plisson [Thu, 3 Dec 2009 12:16:00 +0000 (12:16 +0000)]
Quicktime Carbon: Fix memory leak when build with cocoa
Joshua Leung [Thu, 3 Dec 2009 10:27:22 +0000 (10:27 +0000)]
Bugfix: Toggle animation channel visibility (shift-v) was not flushing the new values correctly
- Modifying groups did not flush status to channels below
- Objects were always toggled. Still need to figure out why this didn't work right...
Joshua Leung [Thu, 3 Dec 2009 10:23:38 +0000 (10:23 +0000)]
Fix for one of the issues in #20230: Comp Nodes animations not saving to .blend
AnimData was not getting written to files for Node Trees.
Joshua Leung [Thu, 3 Dec 2009 10:18:47 +0000 (10:18 +0000)]
Bugfix #20190: Scaling Bone Joints in envelope drawmode
Made scaling selected joints using SKEY work in the same way as in 2.4x
However, it'd probably be nice to be able to have separate hotkeys for this at a later stage.
Damien Plisson [Thu, 3 Dec 2009 09:59:52 +0000 (09:59 +0000)]
QTkit : update build checks to allow only 10.5+/64bit builds
Other SDK versions do not handle correctly QTKit movie creation in a background thread.
Carbon quicktime should be used for the 32bit builds (USE_QTKIT = 0)
Joshua Leung [Thu, 3 Dec 2009 09:56:31 +0000 (09:56 +0000)]
Bugfix #20219: Timeline navigation
Added missing "View All" (HomeKey) operator for TimeLine
Matt Ebb [Thu, 3 Dec 2009 09:51:02 +0000 (09:51 +0000)]
Fix for color management not working with AVI output, patch by Damien Plisson, thanks!
Matt Ebb [Thu, 3 Dec 2009 09:49:21 +0000 (09:49 +0000)]
Fix for [#20226] 3DView header: hiding menu texts and layer button's issue.
Also: big purge of old 3d view header menus and old unused code
Matt Ebb [Thu, 3 Dec 2009 00:42:02 +0000 (00:42 +0000)]
Fix for [#20168] Particle velocity display toggle issue
Thanks Alan Taylor for the initial patch
Matt Ebb [Thu, 3 Dec 2009 00:17:34 +0000 (00:17 +0000)]
Fix for [#20180] Wrong multiplicator in Random Selection
Also:
Added extend select option to select random (off by default)
Tweaked 'Select Axis' to use an enum for axes
Matt Ebb [Wed, 2 Dec 2009 23:14:58 +0000 (23:14 +0000)]
Fix for [#20154] Shaded draw mode needs to be removed when loading files
Janne Karhu [Wed, 2 Dec 2009 20:53:28 +0000 (20:53 +0000)]
Bug fix: Verlet integration didn't work properly with moving particle emitters.
Thanks for mcreamsurfer for reporting and Farsthary for the patch!
Martin Poirier [Wed, 2 Dec 2009 19:59:57 +0000 (19:59 +0000)]
[#20213] Align to Transform Orientation crashes Blender
Align needs to be call with region context.
Also added checks to prevent this from crashing if not called properly.
Martin Poirier [Wed, 2 Dec 2009 19:32:21 +0000 (19:32 +0000)]
Menu handlers need to return OUT when clicking outside, not OK
Caused crashes with window type selector and a slew of other unwanted behaviors.
Campbell Barton [Wed, 2 Dec 2009 19:13:54 +0000 (19:13 +0000)]
change bone storage class so __slots__ can be used for looping over attributes without getting functions
Thomas Dinges [Wed, 2 Dec 2009 18:35:44 +0000 (18:35 +0000)]
Fixed a part of [#20197] dof node bugs.
* False greying out.
Damien Plisson [Wed, 2 Dec 2009 18:06:39 +0000 (18:06 +0000)]
Mac: Following 10.4 ppc libs availability, update cmake & scons default settings
Campbell Barton [Wed, 2 Dec 2009 16:11:10 +0000 (16:11 +0000)]
multiple script paths broke text template menu
Campbell Barton [Wed, 2 Dec 2009 15:37:07 +0000 (15:37 +0000)]
- bpy.data.add_armature()
- rigify testnig function, creates all example metarigs, processes and generates graphs for before and after.
Damien Plisson [Wed, 2 Dec 2009 15:02:29 +0000 (15:02 +0000)]
Cocoa: suppress unwanted beep when pressing Cmd + key on 10.4
Damien Plisson [Wed, 2 Dec 2009 14:39:49 +0000 (14:39 +0000)]
Quicktime(Carbon/win32) : add operator to raise the "compression settings" quicktime standard dialog
Brecht Van Lommel [Wed, 2 Dec 2009 13:21:22 +0000 (13:21 +0000)]
UI: remove unnecessary colon on toggle array buttons.
Damien Plisson [Wed, 2 Dec 2009 13:05:31 +0000 (13:05 +0000)]
Cocoa: remove errors for all supported SDK/CPU configs
Campbell Barton [Wed, 2 Dec 2009 11:55:47 +0000 (11:55 +0000)]
- include example input rigs for each autorig type, running metarig_template() in each submodule generates the armature and pose bone ID properties.
- rigify.write_meta_rig() exports rigs as python scripts
Brecht Van Lommel [Wed, 2 Dec 2009 11:54:48 +0000 (11:54 +0000)]
AAO Indirect Diffuse
Don't use passes anymore for indirect lighting, people were using this
probably thinking it would do bounces, but that's not the intention of
this feature, it is to reduce problems with light bleeding. I want to
remove this option for AO as well, but will leave it in for now until
there is a better alternative.
Added bounces option for indirect, could be implemented much better,
but perhaps useful for testing now. Existing files need to set this to
1 to get the same results again.