Commit Graph

26162 Commits

Author SHA1 Message Date
Joerg Mueller
23807d1fb4 Merging trunk up to r39447. 2011-08-16 14:11:58 +00:00
Campbell Barton
dddfb5e173 minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode. 2011-08-16 13:46:51 +00:00
Campbell Barton
e98074d327 remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts. 2011-08-16 13:10:46 +00:00
Joerg Mueller
02d2472baa 3D Audio GSoC:
Code documentation.

Also:
* Fix: rlint for MSVC.
* Minor other small fixes/changes.
2011-08-16 13:00:55 +00:00
Sergey Sharybin
c7f9e9a80f Fix #28273: Crash playing with Follow path+Bevel+Material
Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.
2011-08-16 10:31:28 +00:00
Thomas Dinges
b4df54151a 2.6 Node Muting:
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.
2011-08-16 08:40:25 +00:00
Joshua Leung
a67562e73c Bugfix [#28267] keyframed values for shapekeys of copied objects are
linked

Shapekey actions weren't getting copied when their owner data was.

This was due to the IMO totally convoluted way in which the duplicate
action flags have been set up:
- the function to copy animdata takes a param to specify whether
actions are copied or not, but this is never touched (i.e. this always
just gets FALSE passed in)
- instead, we jump around in hoops later figuring out whether the
userpref wants copying to occur, then fixing up the links

IIRC, part of this may be due to a desire/need to not duplicate
actions when dealing with NodeTree copies for multi-threaded
rendering, but at the expense of complicating everything else.
2011-08-16 01:02:26 +00:00
Joerg Mueller
a458de88b6 3D Audio GSoC:
High quality resampling on mixdown, linear for playback.

* Lots of improvements and fixes for the JOS resampler, now it works fine!
* High quality filter coefficients for the JOS resampler (sorry for the 5 MB source file).
* Fix for GE orientation bug. Note: moto uses x,y,z,w quaternion storage, while rest of blender uses w,x,y,z.
* Minor changes/fixes.
2011-08-15 21:50:09 +00:00
Morten Mikkelsen
405218df6f the diffuse kernel I had first picked for dilation turned out to be not as great as I first thought. This kernel is a more basic one (trite but true) 2011-08-15 17:55:25 +00:00
Campbell Barton
cdb5d11c5f patch [#22523] Expose Object.parentinv matrix via RNA
from Balajee R C (balajeerc)
2011-08-15 17:29:07 +00:00
Brecht Van Lommel
ae884d2e54 Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
functions.
2011-08-15 16:18:04 +00:00
Brecht Van Lommel
27b3695c4f Remove message "Info: Config directory with "startup.blend" file not found."
There's no reason to have it really, this situation is totally normal, and it
means a terminal window is opened on Windows as long as you haven't saved any
default settings yet.
2011-08-15 16:12:39 +00:00
Brecht Van Lommel
f53143dc83 Fix #27718: driving modifier properties was missing updates, fixed depsgraph. 2011-08-15 14:05:04 +00:00
Joshua Leung
cbbbf31315 Restoring "Clear User Transforms" operator
This can now be found as Pose -> Clear Transforms -> Reset Unkeyed, or
via the operator search (known by its old name there)
2011-08-15 13:24:53 +00:00
Brecht Van Lommel
b62951c0d5 Fix #28162: texture properties didn't show correct texture datablock chooser
in a particular setup with two nested material nodes. Material active texture
was looking also recursively into material node, but this was already done
outside of this function.
2011-08-15 13:17:39 +00:00
Brecht Van Lommel
470b39608a Fix #27803: editing texture did not update compositing nodes using that texture. 2011-08-15 12:07:52 +00:00
Joshua Leung
87e8b853a6 Remove some unused code + warning fix 2011-08-15 11:51:42 +00:00
Joshua Leung
0745f31306 "Select Grouped" by Keying Set for Bones 2011-08-15 11:34:29 +00:00
Joshua Leung
674d1b8d68 Select by Keying Set...
* Split off code to refresh relative/builtin KeyingSets for the
current context before they get used to a separate function.
* Hooked this up to a new PyAPI/RNA function: KeyingSet.refresh().
Call this before checking the paths that a Keying Set has, especially
if it is not "absolute"

* Added option for "Select Grouped" operator (for Objects), which will
select all objects affected by the active Keying Set. This is probably
more useful for absolute KeyingSets, where changing the selection is
less likely to affect the result.
- The equivalent for bones is currently still in development, but is
likely to be more useful for animators, where rigs are the primary
animation entities they deal with
2011-08-15 10:37:26 +00:00
Brecht Van Lommel
270ed82c7b Fix #28202: deactivating keymap items not saving properly. 2011-08-15 10:03:17 +00:00
Campbell Barton
e4f2234fff workaround [#28250] Append dialogue will ask to create new directory inside a .blend
directory button isnt library aware, for now disable it when a libraries loaded.
2011-08-15 04:11:55 +00:00
Campbell Barton
2c8e1e633c comment unused lines. 2011-08-15 03:41:31 +00:00
Sukhitha Prabhath Jayathilake
cc3b9aa467 blender extra parameter animation import ( on hold ); 2011-08-14 16:15:41 +00:00
Sukhitha Prabhath Jayathilake
e93444f816 Matrix transformation animation import for other objects under the new system. 2011-08-14 16:14:32 +00:00
Sukhitha Prabhath Jayathilake
fc0a5ede01 Cleanup 2011-08-14 16:13:35 +00:00
Campbell Barton
02b24e655b fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.
2011-08-14 14:43:11 +00:00
Campbell Barton
181104261d patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)
2011-08-14 12:02:01 +00:00
Campbell Barton
cad6ed9bc6 fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.
2011-08-14 11:38:17 +00:00
Campbell Barton
540f0c64b5 add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.
2011-08-14 10:28:18 +00:00
Joshua Leung
b8473d70e2 Bugfix [#28244] Setting vector handle in fcurve can fail
So apparently this was a regression from 2.4x, since vector handles
were one of the handle types which could be set independently for each
handle (vs both needing to be the same, for example, Auto Handles)
2011-08-14 10:19:21 +00:00
Campbell Barton
62fdee3d8a fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.
2011-08-14 10:17:41 +00:00
Campbell Barton
2187f6772c patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)
2011-08-14 08:39:13 +00:00
Campbell Barton
0b23d378fb fix [#28225] Solidify Modifier creates wrong results when vertex group is attached
infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.
2011-08-14 06:43:58 +00:00
Joshua Leung
656adc53b4 Show dopesheet summary for new DopeSheet editors
While I originally made these so that they wouldn't be on by default
due to concerns over the filtering used for these leading to reduced
framerates/interactive speed, I'd since found while doing some
profiling that this isn't the case.

Rather, decreased framerates were more likely to stem from trying to
perform the checks necessary for the long-keyframe drawing when many
"child" channels are involved (affecting other channels too).

So, since these are generally useful, they are now enabled by default
:)
2011-08-14 04:55:52 +00:00
Dalai Felinto
5e968e36c5 bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto 2011-08-14 04:37:53 +00:00
Campbell Barton
fc128c970b - recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.
2011-08-14 03:59:22 +00:00
Sukhitha Prabhath Jayathilake
c86bcd5065 transform matrix animation import fix. 2011-08-13 16:22:14 +00:00
Sukhitha Prabhath Jayathilake
a4b6cfd872 light parameter export expansion. 2011-08-13 16:21:41 +00:00
Sukhitha Prabhath Jayathilake
c106f7bee9 Light blender profile param sid addressing 2011-08-13 16:20:28 +00:00
Campbell Barton
c83417b2e2 running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender. 2011-08-13 14:24:53 +00:00
Thomas Dinges
7866b63292 2.6 Release Cycle begin:
*BLENDER_VERSION_CYCLE set to alpha

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3 
RC for B-Con 4
Release for B-Con 5
2011-08-13 13:45:03 +00:00
Campbell Barton
7c7fac2174 index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define. 2011-08-13 09:22:14 +00:00
Mitchell Stokes
c5ef9b62c1 BGE Animations: Adding an option to let users choose whether or not to lock animation updates to the framerate. If this option is enabled, animations are only updated at the same speed as the animation framerate. This can give a significant speed up in performance, but at the cost of smoothness in animations. I'm defaulting this behavior to off for now, which is the behavior seen in trunk. 2011-08-12 20:53:29 +00:00
Sukhitha Prabhath Jayathilake
83f0c6e569 Transform matrix Animation import fix. 2011-08-12 20:38:29 +00:00
Brecht Van Lommel
a7dd264940 Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.
2011-08-12 18:27:48 +00:00
Brecht Van Lommel
0cb606a9bc Code cleanup: fix wrong doxygen file name. 2011-08-12 18:24:17 +00:00
Brecht Van Lommel
a7de5fc191 Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro. 2011-08-12 18:17:28 +00:00
Brecht Van Lommel
ceb9dfbdac Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.
2011-08-12 18:13:55 +00:00
Brecht Van Lommel
c265a686d8 Modifiers: add callback to loop over each texture assigned to a modifier. 2011-08-12 18:11:22 +00:00
Brecht Van Lommel
e4bdb6e95a Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.
2011-08-12 18:06:05 +00:00