Commit Graph

16622 Commits

Author SHA1 Message Date
b259efe2d7 UI limits for the envalope frame were too small 2009-12-10 13:20:31 +00:00
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
901962c621 return value was included in the list of optional args for function-rna error message 2009-12-10 11:20:43 +00:00
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
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
9358af05d0 rename operators TFM_OT_* --> TRANSFORM_OT_* 2009-12-10 10:36:32 +00:00
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
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
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
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
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
4bcb759c94 Attempted fix for [#19810] Crash when flipping header with F5 2009-12-10 05:05:04 +00:00
64c29743c3 Fix for [#20153] Scale region size from search crashes Blender 2.5 24999 2009-12-10 03:07:04 +00:00
a4e4d0f658 Fix for [#20140] Double Properties Panel on 3dview from 2.4x fles 2009-12-10 02:43:55 +00:00
985c24b0f1 Fix for 'Copy materials to selected' button freezing when using linked geometry 2009-12-10 01:30:47 +00:00
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
ee12451463 Revert bunch of changes I should have committed before. 2009-12-10 00:41:03 +00:00
456c11c822 textedit string needs to be one byte longer than maxlen, for terminator. 2009-12-10 00:28:18 +00:00
3e43a3f727 Fix notifiers for object active material selection 2009-12-09 22:58:08 +00:00
22643b12e8 show_handles property didn't flip bool properly.
Patch by DustyDingo on irc.
2009-12-09 22:54:25 +00:00
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
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
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
664f2d834a Fix #20305: overlay blending mode for specular intensity does not work. 2009-12-09 19:41:27 +00:00
1d9eb1e0a0 Invalid return type 2009-12-09 18:47:52 +00:00
1d53b78036 Fix compile problem (warnings are important) 2009-12-09 18:08:14 +00:00
1601f297c9 Fix #20245: datablock names allowed entering 22 characters but can
only accept 21.
2009-12-09 18:03:44 +00:00
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
9e7bb2de8f Fix bug #20299: bilateral blur node crashes when the number of
iterations is rapidly changed.
2009-12-09 17:18:39 +00:00
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
2cc8ef127e added collection sequences_all so strips within meta's can be animated 2009-12-09 16:00:53 +00:00
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
5dd68e8cb6 some more rig options, fix typo 2009-12-09 14:29:55 +00:00
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
0e713ba1d0 - rewrote arm rig so it creates 2 chains and blend them automatically (like the leg)
- use reverse order for palm fingers (pointer first)
- allow copying bone class instances to exclude some bones
- doc generation had a python error (incedently updated online docs linked from the splash)
2009-12-09 12:00:28 +00:00
9bc23bd616 Whoops, silly typo 2009-12-09 11:38:32 +00:00
3712e78d52 RNA: fix for yesterday's commit, browsing screens and scenes was
not working anymore, relies on special notifiers.
2009-12-09 10:55:28 +00:00
9b6b74f292 Various more screen-related fixes including:
[#20271] File Browser - Wont show when area is fullscreen
2009-12-09 06:55:16 +00:00
bc79569419 grabcursor attribute stores full grab mode so we can better differentiate when it needs to wrap around cursor draw.
Also add cocoa exception to wm_get_cursor_position (this should be fixed at the ghost level)
2009-12-09 04:51:35 +00:00
1c47b3acb6 Fix for [#20197] dof node bugs
This is still a bit dodgy, the issue of accessing scene data from nodes needs to be solved better, but this at least fixes it up to previous capabilities, and prevents writing any data to scene/objects either.
2009-12-09 02:55:19 +00:00
2ef0ee76a0 Fix for [#20249] duplicating a mesh in edit mode with a lattice modifier
Removed lattice and curve modifiers from being correctable for crazy space - it didn't work and was giving weird results.
2009-12-09 01:53:04 +00:00
e9b417c1bf auto-dist working again, renamed obofs --> dyn_ofs, use_sel --> use_dyn_ofs, since its used by Auto-Depth too. 2009-12-09 00:45:50 +00:00
fabdde675a reference to INDIVIDUAL_CENTERS causing error 2009-12-09 00:03:18 +00:00
bee5775702 split out driver functions into its own file 2009-12-08 22:35:03 +00:00
96a5db9a4c setting and editbone parent to NULL wasnt working 2009-12-08 20:58:23 +00:00
47b4c8357c Attempted Bugfix: opengl preview render artifacts, was using wmPush/PopMatrix,
but this does not have an actual stack, so using glPush/PopMatrix instead now.
2009-12-08 19:27:30 +00:00
7f580d0734 transforming metastrips didnt move effects within them & remove warning 2009-12-08 19:27:19 +00:00
7e333010f3 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.
2009-12-08 18:28:09 +00:00