Joerg Mueller [Tue, 30 Aug 2011 07:57:55 +0000 (07:57 +0000)]
Last bunch of minor fixes before merge.
* Use NULL in AUD_Reference.h
* Use SETLOOPER in sound.c
* Move flags to the end of Speaker struct.
Joerg Mueller [Mon, 29 Aug 2011 15:01:55 +0000 (15:01 +0000)]
* Reverting Titlecard commit r37537
* Reverting update recent files commit r37155
* Turning reference counts into unsigned ints
* Minor things
Mitchell Stokes [Mon, 29 Aug 2011 06:19:55 +0000 (06:19 +0000)]
BGE Animations: Various changes to make code reviewers happy:
* Naming/style changes
* Taking advantage of switch statements
* Removing unneeded NULL checks
* etc
Sukhitha Prabhath Jayathilake [Sun, 28 Aug 2011 18:30:18 +0000 (18:30 +0000)]
armature object animation bug fix.
Joerg Mueller [Sun, 28 Aug 2011 14:21:44 +0000 (14:21 +0000)]
* Removing mocap GSoC (is an addon already).
* Fixing ffmpeg-0.8 errors.
* Fixing Ketsji paths.
* Removing DoSound from BGE.
* Fixing audio scene update to use only current scene objects.
Joshua Leung [Sun, 28 Aug 2011 11:39:18 +0000 (11:39 +0000)]
Assorted comment clarification in response to code review notes
Campbell Barton [Sat, 27 Aug 2011 03:13:54 +0000 (03:13 +0000)]
fix for bug with all rotation modes being treated as euler by the BGE, this bug is in trunk too but fixing here because this code will replace whats in trunk.
also make initializers less verbose for ipo transform assignment.
Sukhitha Prabhath Jayathilake [Fri, 26 Aug 2011 15:16:27 +0000 (15:16 +0000)]
code review fixes
Joerg Mueller [Tue, 23 Aug 2011 11:44:24 +0000 (11:44 +0000)]
Bugfix: Removing a sound from a speaker resulted in a crash.
Joerg Mueller [Mon, 22 Aug 2011 20:31:46 +0000 (20:31 +0000)]
Merging trunk up to r39637.
Joerg Mueller [Mon, 22 Aug 2011 19:58:34 +0000 (19:58 +0000)]
Missed a file in last commit.
Morten Mikkelsen [Mon, 22 Aug 2011 19:57:54 +0000 (19:57 +0000)]
glsl and render support for derivative maps
Sergey Sharybin [Mon, 22 Aug 2011 19:27:54 +0000 (19:27 +0000)]
Update rules for linux cross and mingw: list of DLLs for FFmpeg should be defined there.
Campbell Barton [Mon, 22 Aug 2011 19:13:26 +0000 (19:13 +0000)]
fix for buildinfo changes with blenderplayer
Sergey Sharybin [Mon, 22 Aug 2011 19:00:32 +0000 (19:00 +0000)]
Forgot this in previous commit
Joerg Mueller [Mon, 22 Aug 2011 18:59:56 +0000 (18:59 +0000)]
3D Audio GSoC:
Final GSoC commit.
* Bugfix: Negative frames crashed
* Bugfix: JOS sample buffer size prediction error (wasted memory)
* Optimisation: for JOS upsampling (around 12 % difference measured here)
* Optimisation: Better filter for JOS resampling
* Bugfix: Error in relative 3D audio code.
* Removed Attenuation
* Bugfix: Multiple scenes in BGE lead to errors, BGE audio now all relative, to support multiple scenes.
Morten Mikkelsen [Mon, 22 Aug 2011 18:56:13 +0000 (18:56 +0000)]
actually, this if is still marginally good to have
Sergey Sharybin [Mon, 22 Aug 2011 18:49:42 +0000 (18:49 +0000)]
FFmpeg library update:
- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.
Campbell Barton [Mon, 22 Aug 2011 18:13:37 +0000 (18:13 +0000)]
properly escape chars for pythons bpy objects __repr__
Campbell Barton [Mon, 22 Aug 2011 16:54:26 +0000 (16:54 +0000)]
rename NAN_BUILDINFO --> WITH_BUILDINFO
Campbell Barton [Mon, 22 Aug 2011 12:24:14 +0000 (12:24 +0000)]
buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc
Campbell Barton [Mon, 22 Aug 2011 11:54:40 +0000 (11:54 +0000)]
remove workaround for bug in python 3.2.0 loading web pages on *nix
Joshua Leung [Mon, 22 Aug 2011 11:51:23 +0000 (11:51 +0000)]
Bugfix [#28217] Moving multiple selected action strips causes strips
to scale towards zero
This is an attempted bugfix for a bug which seems to be very fickle to
reproduce (it only happens sporadically after quickly jerking the
strips around in a certain way). So far when testing, I haven't had
any more problems after applying this fix, though it may just be
unreliable testing.
Campbell Barton [Mon, 22 Aug 2011 09:01:49 +0000 (09:01 +0000)]
pep8 edits and change '!= None' to 'is not None'
Campbell Barton [Mon, 22 Aug 2011 08:47:48 +0000 (08:47 +0000)]
patch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
from Benjy Cook (benjycook)
Joshua Leung [Mon, 22 Aug 2011 02:30:43 +0000 (02:30 +0000)]
Bugfix: "Filters" toggle was being shown in Action Editor too, where
it was irrelevant
Joshua Leung [Mon, 22 Aug 2011 02:14:39 +0000 (02:14 +0000)]
Reshuffling DopeSheet filter icons so that they appear more obviously
related to each other
Joshua Leung [Mon, 22 Aug 2011 02:01:22 +0000 (02:01 +0000)]
Rearrange anim channels - quick hotkey tweak
Use PageUp/Down for moving up/down, and Shift PageUp/Down for moving
to top/bottom. This is more comfortable than the old combinations
involving shift+ctrl.
Joshua Leung [Mon, 22 Aug 2011 01:22:14 +0000 (01:22 +0000)]
Improved hotkeys for frame/keyframe/jumping
Thanks pepeland and 3duan for the suggestions. I've been looking at
improving these for a while...
* Left/Right Arrow = Single Frame stepping as before
* Up/Down Arrow = Jumps to next/previous keyframe (used to be the
uncomfortable Shift PageUp/Down)
* Shift Up/Down Arrow = Jumps forward/back in 10 frame increments
(used to be Up/Down Arrows). 10 frame increment should get
customisable again as in 2.4, but need to find some UI space to put
that!
* Ctrl Shift Up/Down/Left/Right = Jump to start/end frame (used to be
Shift <Arrow Key>)
Campbell Barton [Sun, 21 Aug 2011 21:17:55 +0000 (21:17 +0000)]
fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)
Jens Verwiebe [Sun, 21 Aug 2011 21:11:26 +0000 (21:11 +0000)]
name mandatory driver for OSX NDOF compile - testcommit same time
Sukhitha Prabhath Jayathilake [Sun, 21 Aug 2011 15:47:21 +0000 (15:47 +0000)]
Armature object animations export.
Sukhitha Prabhath Jayathilake [Sun, 21 Aug 2011 13:51:04 +0000 (13:51 +0000)]
export animations if a bone is in a deform group. ( on hold )
Sergey Sharybin [Sun, 21 Aug 2011 13:31:46 +0000 (13:31 +0000)]
Fix #28154: linux3-config.py doesn't exist
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/
Tested on both of linux2 and linux3 systems.
Joshua Leung [Sun, 21 Aug 2011 13:25:56 +0000 (13:25 +0000)]
Bugfix [#28309] pose lib too many keyframes in automatic keyframing
mode
Pose Library was checking in wrong place for what was selected and
what wasn't when determining what should get autokeyed.
Ton Roosendaal [Sun, 21 Aug 2011 13:25:19 +0000 (13:25 +0000)]
Small fix, report in IRC by Olivier:
Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.
Campbell Barton [Sun, 21 Aug 2011 11:06:49 +0000 (11:06 +0000)]
new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
Campbell Barton [Sun, 21 Aug 2011 10:14:21 +0000 (10:14 +0000)]
fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade.
Joshua Leung [Sun, 21 Aug 2011 07:08:15 +0000 (07:08 +0000)]
Bugfix [#28308] Crashes when individual channels are moved in Action
Editor
Campbell Barton [Sat, 20 Aug 2011 17:39:13 +0000 (17:39 +0000)]
floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
Sukhitha Prabhath Jayathilake [Sat, 20 Aug 2011 16:48:53 +0000 (16:48 +0000)]
small fixes and refactoring.
Campbell Barton [Sat, 20 Aug 2011 14:23:43 +0000 (14:23 +0000)]
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
Campbell Barton [Sat, 20 Aug 2011 13:29:42 +0000 (13:29 +0000)]
fix for crash when loading a file from a script, and executing user modules in the newly loaded file.
Campbell Barton [Fri, 19 Aug 2011 20:25:25 +0000 (20:25 +0000)]
remove over zealous undo's on operators that don't need it.
Campbell Barton [Fri, 19 Aug 2011 19:25:20 +0000 (19:25 +0000)]
py style change only - make property definitions consistent
Campbell Barton [Fri, 19 Aug 2011 16:21:29 +0000 (16:21 +0000)]
warning cleanup for -Wdouble-promotion
Sukhitha Prabhath Jayathilake [Fri, 19 Aug 2011 14:29:33 +0000 (14:29 +0000)]
Animation exporter matrix source param fix.
Campbell Barton [Fri, 19 Aug 2011 10:38:34 +0000 (10:38 +0000)]
minor speedup to python/rna api keyword argument lookups.
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).
Campbell Barton [Fri, 19 Aug 2011 10:35:47 +0000 (10:35 +0000)]
minor style change
Nathan Letwory [Thu, 18 Aug 2011 22:56:41 +0000 (22:56 +0000)]
Export only objects on visible layers. This ensures we can hide for instance bone shapes.
Campbell Barton [Thu, 18 Aug 2011 20:01:30 +0000 (20:01 +0000)]
store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot.
Sukhitha Prabhath Jayathilake [Thu, 18 Aug 2011 19:16:36 +0000 (19:16 +0000)]
Blender tip profile for bones with 2 or more children.
Campbell Barton [Thu, 18 Aug 2011 19:07:37 +0000 (19:07 +0000)]
misc changes to unterface & undo
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo.
- interface code checks rna props are arrays rather then checking the array length.
- disable properties window pin undoing.
- sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo.
- added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
Campbell Barton [Thu, 18 Aug 2011 18:42:42 +0000 (18:42 +0000)]
minor change for operator OUTLINER_OT_item_activate
Noticed clicking anywhere in the outliner was doing undo pushes, even in empty areas.
- check if any selection is made before redrawing.
- don't do an undo push when selecting outliner items since only screen data is touched here.
Morten Mikkelsen [Thu, 18 Aug 2011 17:25:54 +0000 (17:25 +0000)]
bugfix: genx and geny are not the image resolution. Texture space variant needs this.
Campbell Barton [Thu, 18 Aug 2011 17:09:23 +0000 (17:09 +0000)]
disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.
Campbell Barton [Thu, 18 Aug 2011 16:26:34 +0000 (16:26 +0000)]
disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push.
Campbell Barton [Thu, 18 Aug 2011 16:01:11 +0000 (16:01 +0000)]
fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.
- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.
Campbell Barton [Thu, 18 Aug 2011 15:25:18 +0000 (15:25 +0000)]
more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes.
Campbell Barton [Thu, 18 Aug 2011 12:20:10 +0000 (12:20 +0000)]
formatting edits, no functional changes.
Campbell Barton [Thu, 18 Aug 2011 12:09:53 +0000 (12:09 +0000)]
fix for bad array access in transform operator, was assigning an array to a single float operator value.
Nathan Letwory [Thu, 18 Aug 2011 09:14:27 +0000 (09:14 +0000)]
Apply [#28287] COLLADA fix for inverse bind matrix of skin controller
Patch by Pelle Johnsen
Janne Karhu [Thu, 18 Aug 2011 02:12:23 +0000 (02:12 +0000)]
Fix for [#28216] particles objects rotation still wrong with r39287
* The emitter object's inverse matrix wasn't in global coordinates during rendering, so the surface normals of the hair emission locations were transformed with the wrong matrix.
Mitchell Stokes [Wed, 17 Aug 2011 20:44:15 +0000 (20:44 +0000)]
BGE: Upon further investigation this should have been 8 since up/down and left/right both are just one axis each. So, in actuality, the number of directions = 2, not 4, and thus JOYAXIS_MAX/directions = 16/2 = 8. 8 was also the max used in 2.4x.
Mitchell Stokes [Wed, 17 Aug 2011 20:17:27 +0000 (20:17 +0000)]
BGE: Upping the max Axis Number for the Axis event type on joystick sensors from 2 to 4. The BGE supports up to 16 axis. For Axis events (not Single Axis), you get for directions per axis (up, down, left, right). So, the max should be JOYAXIS_MAX/directions = 16/4 = 4.
Sukhitha Prabhath Jayathilake [Wed, 17 Aug 2011 20:15:40 +0000 (20:15 +0000)]
Animation export id bone animation + armature importer cleanup.
Sukhitha Prabhath Jayathilake [Wed, 17 Aug 2011 18:29:01 +0000 (18:29 +0000)]
Armature importer code cleanup.
Sukhitha Prabhath Jayathilake [Wed, 17 Aug 2011 18:28:01 +0000 (18:28 +0000)]
armature animation export fix.
Brecht Van Lommel [Wed, 17 Aug 2011 15:55:42 +0000 (15:55 +0000)]
Fix #28207: animating pin option for cloth didn't work, solver doesn't support
it, so set the property as not animatable.
Brecht Van Lommel [Wed, 17 Aug 2011 15:01:26 +0000 (15:01 +0000)]
Fix #28265: blender 2.59 not starting on OS X with old ndof driver.
Patch by Jens Verwiebe.
Brecht Van Lommel [Wed, 17 Aug 2011 14:43:11 +0000 (14:43 +0000)]
Fix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
of selection. Changed the fix for bug #27198, live unwrap not working with
sync selection.
Thomas Dinges [Wed, 17 Aug 2011 13:04:28 +0000 (13:04 +0000)]
2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.
Brecht Van Lommel [Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)]
Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.
Brecht Van Lommel [Wed, 17 Aug 2011 12:09:02 +0000 (12:09 +0000)]
Fix #28194, #28269: proxy object was not showing pose mode as available in
3d view header mode menu.
A recent bugfix was incorrectly hiding pose and particle mode when the object
data was library linked, but these modes edit object level settings so should
be available.
Benjy Cook [Wed, 17 Aug 2011 10:13:24 +0000 (10:13 +0000)]
Commenting and pep8 compliance
Mitchell Stokes [Wed, 17 Aug 2011 09:38:50 +0000 (09:38 +0000)]
BGE Animations: Lamp and Camera IPOs are now handled like object IPOs, which means lamps and cameras are no longer stuck to just their active action. However, the Blender UI seems a little restrictive in this area.
Campbell Barton [Tue, 16 Aug 2011 22:44:12 +0000 (22:44 +0000)]
fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x
Campbell Barton [Tue, 16 Aug 2011 22:18:24 +0000 (22:18 +0000)]
fix for error calling RNA_property_float_get_index on non array float rotations when displaying.
Mitchell Stokes [Tue, 16 Aug 2011 22:14:55 +0000 (22:14 +0000)]
Adding ANIM_validate_keyingset to stubs.c so the Blenderplayer builds again.
Mitchell Stokes [Tue, 16 Aug 2011 19:59:08 +0000 (19:59 +0000)]
BGE Animations: Increasing the max layer count to 8 as per a user request. Also, layer checks were checking for values between 0 and MAX_ACTION_LAYERS when they should have been checking for values between 0 and MAX_ACTION_LAYERS - 1.
Benjy Cook [Tue, 16 Aug 2011 19:12:36 +0000 (19:12 +0000)]
Small change that improves usability to advanced retargeting
Thomas Dinges [Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)]
Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x.
I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.
Sukhitha Prabhath Jayathilake [Tue, 16 Aug 2011 17:17:13 +0000 (17:17 +0000)]
Animation Exporter clean up.
Sukhitha Prabhath Jayathilake [Tue, 16 Aug 2011 16:03:37 +0000 (16:03 +0000)]
Finalizing.
Joerg Mueller [Tue, 16 Aug 2011 14:43:04 +0000 (14:43 +0000)]
Py fix for trunk to pepper merge.
Joerg Mueller [Tue, 16 Aug 2011 14:11:58 +0000 (14:11 +0000)]
Merging trunk up to r39447.
Campbell Barton [Tue, 16 Aug 2011 13:46:51 +0000 (13:46 +0000)]
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.
Campbell Barton [Tue, 16 Aug 2011 13:45:17 +0000 (13:45 +0000)]
turns out recent commit made 'make' on its own fail.
Campbell Barton [Tue, 16 Aug 2011 13:10:46 +0000 (13:10 +0000)]
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.
Campbell Barton [Tue, 16 Aug 2011 13:07:46 +0000 (13:07 +0000)]
add numpad key input for ghost/sdl
Joerg Mueller [Tue, 16 Aug 2011 13:00:55 +0000 (13:00 +0000)]
3D Audio GSoC:
Code documentation.
Also:
* Fix: rlint for MSVC.
* Minor other small fixes/changes.
Daniel Salazar [Tue, 16 Aug 2011 12:37:23 +0000 (12:37 +0000)]
Front/Back togles should not disable when curve is 2D and bevel object is used
http://www.pasteall.org/pic/show.php?id=16449
Campbell Barton [Tue, 16 Aug 2011 10:34:52 +0000 (10:34 +0000)]
Convenience targets for project files:
Project Files for IDE's
* project_qtcreator - QtCreator Project Files
* project_netbeans - NetBeans Project Files
* project_eclipse - Eclipse CDT4 Project Files
Sergey Sharybin [Tue, 16 Aug 2011 10:31:28 +0000 (10:31 +0000)]
Fix #28273: Crash playing with Follow path+Bevel+Material
Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.
Campbell Barton [Tue, 16 Aug 2011 10:01:19 +0000 (10:01 +0000)]
'make help' message for the convenience makefile which lists optional targets.
Campbell Barton [Tue, 16 Aug 2011 09:36:15 +0000 (09:36 +0000)]
added cmake configureation presets, so on *nix systems you can do...
# minal blender with debug info
make debug lite
# blender with no ui
make headless
# blender as a python module
make bpy
Thomas Dinges [Tue, 16 Aug 2011 08:40:25 +0000 (08:40 +0000)]
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.
Joshua Leung [Tue, 16 Aug 2011 01:02:26 +0000 (01:02 +0000)]
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.
Joerg Mueller [Mon, 15 Aug 2011 21:50:09 +0000 (21:50 +0000)]
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.
Morten Mikkelsen [Mon, 15 Aug 2011 17:55:25 +0000 (17:55 +0000)]
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)