Commit Graph

21205 Commits

Author SHA1 Message Date
Campbell Barton
2576268fb8 missed a header last commit, added custom exceptions to rigify so they can be caught and converted into reports and have normal errors display the stack trace as useual. 2009-12-10 18:28:22 +00:00
Martin Poirier
0779f2c425 Double Click event value.
Timeout between both clicks is user configurable, should be taken from the OS when possible.
2009-12-10 17:41:03 +00:00
Campbell Barton
0cc5d50d91 operator report function so python operators can report errors
TODO - reports are currently shown upside down.
2009-12-10 16:52:44 +00:00
Campbell Barton
959ac68914 align option for split 2009-12-10 14:47:07 +00:00
Campbell Barton
5c5ec6f0a7 fix for some errors and local root bone override 2009-12-10 14:32:37 +00:00
Campbell Barton
aaa181818e missed editing the sample rigs, Cessen likes palm_curl.py better 2009-12-10 13:45:16 +00:00
Campbell Barton
e93c0e4ecf renaming metarig types since we may well have multiple arm/finger/leg types 2009-12-10 13:34:21 +00:00
Campbell Barton
b259efe2d7 UI limits for the envalope frame were too small 2009-12-10 13:20:31 +00:00
Campbell Barton
6e6e675191 move generic functions out of rigify's __init__.py into rigify_utils.py since rigify its self does not use them, only some of the metarig types. 2009-12-10 12:58:03 +00:00
Campbell Barton
f26e188a7c - rigify context changes & example for delta
- sequencer transform had 0.0 for rotation minimum
- missed icon rename in last commit
2009-12-10 11:56:31 +00:00
Campbell Barton
901962c621 return value was included in the list of optional args for function-rna error message 2009-12-10 11:20:43 +00:00
Brecht Van Lommel
11ca70b42d Update Handling: moved wm_data_handle_update from windowmanager to
scene_update_tagged in blenkernel, code fits better there.
2009-12-10 11:08:38 +00:00
Joshua Leung
6b7544bfda Durian Request: Default F-Curve Auto-Colour Modes
Added option to KeyingSets+Keyframing Functions which makes newly added F-Curves for Transforms + Colours to use the colour mode which uses the array index to determine the colour of the F-Curve. 

The main implication of this is that when this option is enabled for a KeyingSet, all sets of XYZ F-Curves (i.e. location, rotation, scale) for transforms will be shown in Red/Green/Blue instead of some automatically determined "rainbow" colour. Useful for animators far too used to Maya's Graph Editor :P

This setting is named, "XYZ to RGB", though that doesn't make its purpose entirely clear.
2009-12-10 10:40:28 +00:00
Campbell Barton
9358af05d0 rename operators TFM_OT_* --> TRANSFORM_OT_* 2009-12-10 10:36:32 +00:00
Campbell Barton
b5740b0e77 remove ICON prefix from the enum, for python this is redundant eg.
layout.prop("setting", icon='ICON_BLAH_BLAH')

Also reverted previous commit, the cursor subtype just needed to be added to the switch statement.
2009-12-10 10:23:53 +00:00
Matt Ebb
9c5019a9a9 Notifier related fixes:
[#20319] 3D View - need 3D cursor notifier
[#20321] Views not receiving the NC_ID notifier
2009-12-10 09:58:10 +00:00
Campbell Barton
7fcb5d33ff values that had units set would not be coerced into Mathutils types by the python api.
eg. scene.cursor_location wasnt a vector
2009-12-10 09:38:58 +00:00
Matt Ebb
24be31bda0 Fix for [#19776] Header bar problem in 2.5
Prevents dragging region edges outside area boundaries or into other regions.
2009-12-10 09:25:30 +00:00
Campbell Barton
900165bc72 raise an error when adding/removing editbones when the armature is not in editmode (without this blender crashes) 2009-12-10 08:54:16 +00:00
Matt Ebb
4bcb759c94 Attempted fix for [#19810] Crash when flipping header with F5 2009-12-10 05:05:04 +00:00
Matt Ebb
64c29743c3 Fix for [#20153] Scale region size from search crashes Blender 2.5 24999 2009-12-10 03:07:04 +00:00
Matt Ebb
a4e4d0f658 Fix for [#20140] Double Properties Panel on 3dview from 2.4x fles 2009-12-10 02:43:55 +00:00
Matt Ebb
985c24b0f1 Fix for 'Copy materials to selected' button freezing when using linked geometry 2009-12-10 01:30:47 +00:00
Matt Ebb
653593b574 Fix for [#20216] Search List is unordered
This sorts RNA collection (bones, vgroups, etc) search lists alphabetically like ID data search lists are already.
2009-12-10 01:29:43 +00:00
Nathan Letwory
ef8706c4ea wrong code order made linux+scons barf. 2009-12-10 01:11:04 +00:00
Nathan Letwory
11af0ff270 * WITH_BF_RAYOPTIMIZATION cleanup and flag separation by matd.
This adds BF_RAYOPTIMIZATION_SSE_FLAGS through which one can manage
  what SSE flags are best for the platform built for.

  Note that the ray optimizations coded by jaguarandi are SSE-intrinsics only.
2009-12-10 00:51:13 +00:00
Martin Poirier
ee12451463 Revert bunch of changes I should have committed before. 2009-12-10 00:41:03 +00:00
Martin Poirier
456c11c822 textedit string needs to be one byte longer than maxlen, for terminator. 2009-12-10 00:28:18 +00:00
Andrea Weikert
ce65569708 MSVC 9 projectfiles
* added missing header BKE_sequence.h
* moved source folder back to correct place (was inside headers folder)
2009-12-10 00:20:19 +00:00
Matt Ebb
3e43a3f727 Fix notifiers for object active material selection 2009-12-09 22:58:08 +00:00
Martin Poirier
22643b12e8 show_handles property didn't flip bool properly.
Patch by DustyDingo on irc.
2009-12-09 22:54:25 +00:00
Campbell Barton
3535be3f6f patch from Cessen, tweaks and fixes to metarig elements 2009-12-09 22:44:26 +00:00
Campbell Barton
30fd13387d give IDPropertyGroups's an identifier so they can display text in the listview, hardcoded to "name" 2009-12-09 22:37:02 +00:00
Martin Poirier
80bd73639f Patch [#20290] by Bjørnar Hansen for bug [#20270] 2.5a0, Select Random says percent but is really 0-1 2009-12-09 21:42:21 +00:00
Andrea Weikert
c16acaff8b Sequencer fix: Transform Strip wouldn't work with default_fader
* added default_fader to transform strip, since it used the old fac too.
* removed ANIMATEABLE attribute from the settings in the transform strip, since they are animated via the effect_fader and not directly for now. (too confusing)
* UI: only show default_fader for the effect strips that support it

Sequencer Durian feature: uniform scale for Sequence transform strip.
* for now re-using variable for x-axis scaling.

Note: This brings back functionality as close to 2.49 as possible. The Start and End values in the current design are not meant to be animated directly, but via the effect_fader.
2009-12-09 20:03:08 +00:00
Brecht Van Lommel
664f2d834a Fix #20305: overlay blending mode for specular intensity does not work. 2009-12-09 19:41:27 +00:00
Martin Poirier
1d9eb1e0a0 Invalid return type 2009-12-09 18:47:52 +00:00
Andrea Weikert
177e27ea4b MSVC 9 projectfiles
* quick updates for bpy_driver.c
2009-12-09 18:38:55 +00:00
Martin Poirier
1d53b78036 Fix compile problem (warnings are important) 2009-12-09 18:08:14 +00:00
Brecht Van Lommel
1601f297c9 Fix #20245: datablock names allowed entering 22 characters but can
only accept 21.
2009-12-09 18:03:44 +00:00
Guillermo S. Romero
e68dff3e76 Move libpython.a to COMLIB (before was PULIB). 2009-12-09 17:53:52 +00:00
Brecht Van Lommel
b4d8d51a26 Fix for bug #20307: snapping in uv editor is related to objects origin.
Also updated image window header to use snap element property.
2009-12-09 17:32:54 +00:00
Brecht Van Lommel
9e7bb2de8f Fix bug #20299: bilateral blur node crashes when the number of
iterations is rapidly changed.
2009-12-09 17:18:39 +00:00
Campbell Barton
00b8e65f0a very very bad hack to have sequencer strips fcurve data transform with them.
ifdef'd so its not kept in by accident.
Committing because without this animating with the sequencer isnt really usable and am not interensted in having many patches applied on artists systems.
2009-12-09 16:46:41 +00:00
Campbell Barton
2cc8ef127e added collection sequences_all so strips within meta's can be animated 2009-12-09 16:00:53 +00:00
Campbell Barton
daf043b3fe if bone type root is defined, all new parentless bones become children of it 2009-12-09 15:13:03 +00:00
Brecht Van Lommel
f54776b1a6 VBO:
* Fix #19785: curves not drawing with VBO enabled
* Fix #19553: duplicate Window crashes with VBO's

The convention in Blender was to have GL_VERTEX_ARRAY and GL_NORMAL_ARRAY
enabled by default, and other arrays disabled. The VBO drawing code did
not take this into account. I've made these now disabled by default, since
that makes the code clearer in other places too.
2009-12-09 14:37:26 +00:00
Campbell Barton
5dd68e8cb6 some more rig options, fix typo 2009-12-09 14:29:55 +00:00
Campbell Barton
a41131db24 - added editbone.matrix, readonly, utility property that calculates the matrix from the bone roll
- spine fixes
- arm now uses the average Z axis to place the poll target
2009-12-09 14:25:56 +00:00
Campbell Barton
d6c583cc54 - use the bone that the type was set for automatic assigned blending property (when blending 2 chains)
- delete the type property from the generated rig so running again wont confuse things
2009-12-09 12:36:13 +00:00