blender.git
7 years agoMerging with trunk up to r38631.
Joerg Mueller [Sat, 23 Jul 2011 16:34:30 +0000 (16:34 +0000)]
Merging with trunk up to r38631.

7 years agoCherry pick merge: /branches/soc-2011-pepper/intern/audaspace/OpenAL:r38630
Joerg Mueller [Sat, 23 Jul 2011 16:08:37 +0000 (16:08 +0000)]
Cherry pick merge: /branches/soc-2011-pepper/intern/audaspace/OpenAL:r38630
Original log: Corrected the OpenAL device's threading code. This is a bugfix for #27913, thanks to Juha Mäki-Kanto for helping to resolve this.

7 years ago3D Audio GSoC:
Joerg Mueller [Sat, 23 Jul 2011 15:59:10 +0000 (15:59 +0000)]
3D Audio GSoC:
* Reviewed and improved the linear resampler. Now it should work pretty good also for special cases that caused errors previously.
* Fixed a crash in the GE when a sound actuator doesn't have a sound assigned.
* Corrected the OpenAL device's threading code. This is a bugfix for #27913, thanks to Juha Mäki-Kanto for helping to resolve this.

7 years ago2.5 UI:
Thomas Dinges [Sat, 23 Jul 2011 15:36:51 +0000 (15:36 +0000)]
2.5 UI:
* Added back icon to open the Splash Screen in the info header, next to version string info.
* Removed an unnecessary toggle argument for particle mode select buttons. The Toggle argument is only intended for booleans, not enums.

7 years agoNLA Track for custom user tweaks is now added after retargeting
Benjy Cook [Fri, 22 Jul 2011 18:46:59 +0000 (18:46 +0000)]
NLA Track for custom user tweaks is now added after retargeting

7 years agoUI makeover for mocap constraints panel. Now has the look and feel of regular Blender...
Benjy Cook [Fri, 22 Jul 2011 18:46:13 +0000 (18:46 +0000)]
UI makeover for mocap constraints panel. Now has the look and feel of regular Blender constraints

7 years agoTwo fixes in drop-node-on-noodle:
Ton Roosendaal [Fri, 22 Jul 2011 16:39:06 +0000 (16:39 +0000)]
Two fixes in drop-node-on-noodle:

- Intersection code was using undefined vector
  caused wrong lines to be picked
- Code now also copes with hidden sockets.
  If all fails, is just unhides a good socket.

7 years agoSmall fix in drop-node-on-noodle: intersect code only did 3 edges of
Ton Roosendaal [Fri, 22 Jul 2011 16:02:56 +0000 (16:02 +0000)]
Small fix in drop-node-on-noodle: intersect code only did 3 edges of
node.

7 years agoLet's try default High Quality for object align, it's slow but it's simply the correc...
Daniel Salazar [Fri, 22 Jul 2011 15:54:54 +0000 (15:54 +0000)]
Let's try default High Quality for object align, it's slow but it's simply the correct way, users can disable while tweaking the align modes and then enable again for final result IF they are working on *dense* meshes

7 years agoNeed some fun once a while:
Ton Roosendaal [Fri, 22 Jul 2011 15:28:50 +0000 (15:28 +0000)]
Need some fun once a while:

On dragging a non-connected node on a noodle, it will insert it.
Functionality tweaks are possible, but it already feels non-intrusive.

Rules:
- Insertion only when a single noodle is intersecting with node.
- Default connects first matching socket type.
- If no socket match, it connects the first.

7 years agoBugfix [#27990] Merge Bones freezes Blender
Joshua Leung [Fri, 22 Jul 2011 13:52:31 +0000 (13:52 +0000)]
Bugfix [#27990] Merge Bones freezes Blender

Recoded side-chain reparenting step to fix (as far as I've been able
to tell) infinite looping problems which were a bit intermittent here
using the test file. The fix here involves some tighter checks to
prevent corrupting the parenting of bones in the run of bones being
merged but also of any ancestors of those.

7 years agoBugfix [#27959] Error on Paste X-Fliped pose
Joshua Leung [Fri, 22 Jul 2011 11:53:20 +0000 (11:53 +0000)]
Bugfix [#27959] Error on Paste X-Fliped pose

Paste pose no longer just does a blind "replace all properties" on
bones that it pastes on. Instead:
* when properties exist on the target already - only change the
properties in common
* when properties don't already exist - copy all properties

7 years agoremove duplicate function for printing the current file:line of a python script in...
Campbell Barton [Fri, 22 Jul 2011 11:21:01 +0000 (11:21 +0000)]
remove duplicate function for printing the current file:line of a python script in the BGE.

7 years agoBugfix [#27984] CTRL+T doesn't work in Video Sequencer properly
Joshua Leung [Fri, 22 Jul 2011 11:20:14 +0000 (11:20 +0000)]
Bugfix [#27984] CTRL+T doesn't work in Video Sequencer properly

Time-scale drawing wasn't respecting the time unit setting.

While working on this, I tried to tweak the grid drawing to a more
common setting. It's hardcoded to show lines at every 25 px = once
every 25 frames, which is only really fine when FPS=25. Anyways, this
works fine enough for the sequencer for now in general usage.

7 years agoSplit up recalcData() function in transform_generics.c into smaller
Joshua Leung [Fri, 22 Jul 2011 07:25:52 +0000 (07:25 +0000)]
Split up recalcData() function in transform_generics.c into smaller
functions based on editor types

This could be split up further in future if there's such a need, but
this should already be sufficient. Most notably required since the NLA
recalc stuff was taking quite a few lines within that block

7 years agofix [#27910] baking ambient occlusion, do not consider closer object for blender...
Campbell Barton [Fri, 22 Jul 2011 05:33:06 +0000 (05:33 +0000)]
fix [#27910] baking ambient occlusion, do not consider closer object for blender 2.58a

7 years agopatch [#28045] Straighten tool from Simple Todos
Campbell Barton [Fri, 22 Jul 2011 01:21:20 +0000 (01:21 +0000)]
patch [#28045] Straighten tool from Simple Todos
from Kyle Mills (khonkhortisan)

7 years agomissed this file when adding option to disable frameserver
Campbell Barton [Fri, 22 Jul 2011 00:34:03 +0000 (00:34 +0000)]
missed this file when adding option to disable frameserver

7 years agofix [#28053] New material tooltip
Campbell Barton [Fri, 22 Jul 2011 00:31:24 +0000 (00:31 +0000)]
fix [#28053] New material tooltip

7 years agofix [#28052] PET: Shift-O cycling skips "random falloff"
Campbell Barton [Thu, 21 Jul 2011 23:36:17 +0000 (23:36 +0000)]
fix [#28052] PET: Shift-O cycling skips "random falloff"

7 years agocmake - option to disable the frame server
Campbell Barton [Thu, 21 Jul 2011 23:06:51 +0000 (23:06 +0000)]
cmake - option to disable the frame server

7 years agoAdding Shear transform to UV menu and Ctrl Alt Shift S hotkey (same as in 3D View)
Daniel Salazar [Thu, 21 Jul 2011 21:34:08 +0000 (21:34 +0000)]
Adding Shear transform to UV menu and Ctrl Alt Shift S hotkey (same as in 3D View)

7 years agoMerge with trunk up to r38584.
Joerg Mueller [Thu, 21 Jul 2011 21:11:58 +0000 (21:11 +0000)]
Merge with trunk up to r38584.

7 years ago(no commit message)
Sukhitha Prabhath Jayathilake [Thu, 21 Jul 2011 18:31:01 +0000 (18:31 +0000)]

7 years agoBugfix #28034
Ton Roosendaal [Thu, 21 Jul 2011 17:40:20 +0000 (17:40 +0000)]
Bugfix #28034

Blender render optimizes alpha=0 materials away, unless it has
a number of properties... but there wasn't a check for material
being ray-mirror, it then should be rendered always.

7 years agoCorrected View Selected operator for image editor so now it works
Sergey Sharybin [Thu, 21 Jul 2011 09:50:39 +0000 (09:50 +0000)]
Corrected View Selected operator for image editor so now it works
fine for images with different X and Y aspect ratio.

7 years agoFixed bug with multires baking to float buffers.
Sergey Sharybin [Thu, 21 Jul 2011 08:10:34 +0000 (08:10 +0000)]
Fixed bug with multires baking to float buffers.
Was missed a flag to set rect marked as changed.

7 years agorevert recent matrix multiplication patch:
Campbell Barton [Thu, 21 Jul 2011 02:00:29 +0000 (02:00 +0000)]
revert recent matrix multiplication patch:
 [#28032] Python Mathutils: Matrix Multiplication Error

Since they ended up reversing the order we better keep old code unless its proven to be incorrect.
also change Matrix.__repr__ function args to evaluate correctly (need to be inside a tuple).

7 years agoadd tip that duplicator system doesnt support xray / transp object draw options since...
Campbell Barton [Thu, 21 Jul 2011 01:37:15 +0000 (01:37 +0000)]
add tip that duplicator system doesnt support xray / transp object draw options since we keep getting reports about this.

7 years agofix [#28037] Missing orange selection lines (trivial)
Campbell Barton [Thu, 21 Jul 2011 01:30:26 +0000 (01:30 +0000)]
fix [#28037] Missing orange selection lines (trivial)

From what I can tell there is no good fix for this bug, calculating the 2d/3d viewborder and then attempting to align them to be pixel perfect fails because of float imprecision.

Added a workaround, so the camera border is always drawn in 2d space,
since this workaround may cause problems later on its kept under the define VIEW3D_CAMERA_BORDER_HACK so we can get old behavior back easily.

7 years agofix/workaround [#28040] float images reduced to 256 levels per channel upon save
Campbell Barton [Thu, 21 Jul 2011 00:41:00 +0000 (00:41 +0000)]
fix/workaround [#28040] float images reduced to 256 levels per channel upon save

Generated images would not be re-generated with a float buffer on load, even when selected on creation.
Now save the float buffer setting as a generated image flag.

This means you can enable before baking to enable baking to a float buffer.

7 years agoAttempted bugfix: don't perform any keyframe remapping stuff if
Joshua Leung [Thu, 21 Jul 2011 00:07:07 +0000 (00:07 +0000)]
Attempted bugfix: don't perform any keyframe remapping stuff if
rendering, to prevent any race condition problems

I've noticed some weird and random crashes recently while rendering,
which I suspect have been arising from having an Action Editor open
while rendering. Previously only the timeline was patched against
these problems, though the issues may be more widespread. Hence,
solving this problem at the root cause instead.

7 years agoTwo new operators for easier retargeting: Auto scale performer, and a first attempt...
Benjy Cook [Wed, 20 Jul 2011 21:03:06 +0000 (21:03 +0000)]
Two new operators for easier retargeting: Auto scale performer, and a first attempt at auto hiearchy mapping

7 years agofix [#27922] using preset_paths() with an absolute path returns twice the same thing
Campbell Barton [Wed, 20 Jul 2011 15:33:27 +0000 (15:33 +0000)]
fix [#27922] using preset_paths() with an absolute path returns twice the same thing
raise an error when an invalid subdir is passed to preset_paths()

7 years agovenomgfx request: Renaming handle 1/2 to left/right handles for
Joshua Leung [Wed, 20 Jul 2011 12:44:29 +0000 (12:44 +0000)]
venomgfx request: Renaming handle 1/2 to left/right handles for
keyframes

This makes it easier to remember/identify which one you're dealing
with

7 years agoadded bpy.path.basename because "//" prefix breaks os.path.basename.
Campbell Barton [Wed, 20 Jul 2011 08:10:01 +0000 (08:10 +0000)]
added bpy.path.basename because "//" prefix breaks os.path.basename.

7 years agopatch [#28032] swapped matrix multiplication order, reverse it back, tested with...
Campbell Barton [Wed, 20 Jul 2011 06:41:51 +0000 (06:41 +0000)]
patch [#28032] swapped matrix multiplication order, reverse it back, tested with FBX, BVH import/export which are very sensitive to changes in matrix rotation.

7 years agopatch [#28030] SCONS Build: Build Date reflects "1" instead of actual date of build
Campbell Barton [Wed, 20 Jul 2011 06:22:16 +0000 (06:22 +0000)]
patch [#28030] SCONS Build: Build Date reflects "1" instead of actual date of build
by Scott Giese (sgiese)

This bug effected windows and linux.

7 years agoBGE Animations: Fixing a crash with "IPO" animations on an object with modifiers.
Mitchell Stokes [Wed, 20 Jul 2011 06:20:49 +0000 (06:20 +0000)]
BGE Animations: Fixing a crash with "IPO" animations on an object with modifiers.

7 years agoBGE Animations: BL_Action::m_action could be garbage, which can lead to odd problems...
Mitchell Stokes [Wed, 20 Jul 2011 06:09:41 +0000 (06:09 +0000)]
BGE Animations: BL_Action::m_action could be garbage, which can lead to odd problems. So, now I make sure it's set to NULL in the constructor.

7 years agopatch [#28031] Minor typo in Blenlib
Campbell Barton [Wed, 20 Jul 2011 06:05:47 +0000 (06:05 +0000)]
patch [#28031] Minor typo in Blenlib
from Scott Giese (sgiese)

7 years agopatch [#28032] Python Mathutils: Matrix Multiplication Error
Campbell Barton [Wed, 20 Jul 2011 05:57:38 +0000 (05:57 +0000)]
patch [#28032] Python Mathutils: Matrix Multiplication Error
from Scott Giese (sgiese)

7 years agoAdd/Clear Fake Users from Outliner by RMB on ID blocks
Joshua Leung [Wed, 20 Jul 2011 01:12:57 +0000 (01:12 +0000)]
Add/Clear Fake Users from Outliner by RMB on ID blocks

7 years agoView All/Selected tools for NLA Editor
Joshua Leung [Wed, 20 Jul 2011 00:36:28 +0000 (00:36 +0000)]
View All/Selected tools for NLA Editor

7 years agoAdded some simple feedback for long processes, currently being printed to the console
Benjy Cook [Tue, 19 Jul 2011 16:52:47 +0000 (16:52 +0000)]
Added some simple feedback for long processes, currently being printed to the console

7 years agoAdded tooltips to all operators in the Mocap panels
Benjy Cook [Tue, 19 Jul 2011 16:33:28 +0000 (16:33 +0000)]
Added tooltips to all operators in the Mocap panels

7 years agoSpeedup, do only one global matrix grab per obj
Daniel Salazar [Tue, 19 Jul 2011 15:30:19 +0000 (15:30 +0000)]
Speedup, do only one global matrix grab per obj

7 years agoupdate to patch from Andrew Hale - obj.closest_point_ob_mesh() now takes an optional...
Campbell Barton [Tue, 19 Jul 2011 15:21:21 +0000 (15:21 +0000)]
update to patch from Andrew Hale - obj.closest_point_ob_mesh() now takes an optional max_dist argument.

7 years agoObject Align operator: coudn't resist and added a high quality (slower) option to...
Daniel Salazar [Tue, 19 Jul 2011 15:07:29 +0000 (15:07 +0000)]
Object Align operator: coudn't resist and added a high quality (slower) option to get perfect alighment on complex shapes with rotation/scaling :D

sexy example:
http://www.pasteall.org/pic/show.php?id=15171

7 years agoObject Align operator now correctly computes a *global* bounding box for all objects...
Daniel Salazar [Tue, 19 Jul 2011 13:27:05 +0000 (13:27 +0000)]
Object Align operator now correctly computes a *global* bounding box for all objects. This makes rotated or scaled objects work like they should. Now it's still derived from object's bounding box so it will not be completly acurate on complex objects.. to solve this Id need to cycle over all verts. Don't think that's a good idea to do in py

7 years agofix for [#28012] Mat ID messy with shader nodes
Jeroen Bakker [Tue, 19 Jul 2011 08:31:53 +0000 (08:31 +0000)]
fix for [#28012] Mat ID messy with shader nodes

Issue was that the Shader tree execution changed the ShaderInput.
Changes are that the UI is updated that only the main material will have the pass_index this is displayed in the "render pipeline options" panel.
When the material is not a node material the pass_index will be shown at the "options" panel

To test enable nodes on the material
Add a new input material
change the pass_index of the material (render pipeline options)
Enable RenderPass material ID and use the compositor to read out the material pass

Jeroen

7 years agofix for bpy.path.abspath(), if a path was passed it would get the last directory...
Campbell Barton [Tue, 19 Jul 2011 05:05:54 +0000 (05:05 +0000)]
fix for bpy.path.abspath(), if a path was passed it would get the last directory cut off, broke copying images on export.

7 years agocleanup of scene->gamedata DNA
Dalai Felinto [Tue, 19 Jul 2011 02:47:43 +0000 (02:47 +0000)]
cleanup of scene->gamedata DNA

xsch and ysch were originally planed to replace the scene->r.xsch/r.ysch
however in blender/3dview we still need to use the r. values. Therefore we can't really run
from using those values even in bplayer. So removed the values in gamedata.

The way it's now, render values (xsch and ysch) are responsible for aspect ratio and gamedata xplay and yplay are responsible for the size of the window.

7 years agobugfix: [#27348] blenderplayer showing a different viewport size in 2.57b
Dalai Felinto [Tue, 19 Jul 2011 01:41:45 +0000 (01:41 +0000)]
bugfix: [#27348] blenderplayer showing a different viewport size in 2.57b
I believe this bug was there since we (me) moved the game settings to scene->gm
Since I was here I added support for x/y non square aspect pixels (i.e. anamorphic)
we were already using it for videotexture so I don't know why we were not here.

Tested in OSX, but it should be working in all OSs.

7 years agofix [#28018] Sequence Swap Data Operator does not work
Campbell Barton [Tue, 19 Jul 2011 01:36:59 +0000 (01:36 +0000)]
fix [#28018] Sequence Swap Data Operator does not work

7 years agopatch: [#27783] "Problem with clock" at 18:39:00 by Daniel Dionne (mrzeon)
Dalai Felinto [Mon, 18 Jul 2011 22:28:42 +0000 (22:28 +0000)]
patch: [#27783] "Problem with clock" at 18:39:00  by Daniel Dionne (mrzeon)
the overflow of the clock was causing crash in the game engine in Linux.
(on June 11 2011, 18:39:00 GMT)

running to the "where is waldo (wally)" bug award of 2011.

7 years agoEven more bugfixes for retarget, for various types of special cases.
Benjy Cook [Mon, 18 Jul 2011 19:33:11 +0000 (19:33 +0000)]
Even more bugfixes for retarget, for various types of special cases.

7 years agoMaterial Specular Hardness Animation import (ongoing)
Sukhitha Prabhath Jayathilake [Mon, 18 Jul 2011 19:32:51 +0000 (19:32 +0000)]
Material Specular Hardness Animation import (ongoing)

7 years agoBugfixing for retargeting - unconnected bones now retarget alot better. Also some...
Benjy Cook [Mon, 18 Jul 2011 18:44:54 +0000 (18:44 +0000)]
Bugfixing for retargeting - unconnected bones now retarget alot better. Also some placeholder code for a fix scale operator

7 years agoIdentifying Animation List for Material shininess.
Sukhitha Prabhath Jayathilake [Mon, 18 Jul 2011 18:31:01 +0000 (18:31 +0000)]
Identifying Animation List for Material shininess.

7 years agoMissing struct keyword in function declaration causes compiler error with cmake/gcc.
Lukas Toenne [Mon, 18 Jul 2011 18:14:22 +0000 (18:14 +0000)]
Missing struct keyword in function declaration causes compiler error with cmake/gcc.

7 years agoMaterial Specular Hardness Animation export.
Sukhitha Prabhath Jayathilake [Mon, 18 Jul 2011 17:33:03 +0000 (17:33 +0000)]
Material Specular Hardness Animation export.

7 years agoBugfix #27927
Ton Roosendaal [Mon, 18 Jul 2011 14:41:59 +0000 (14:41 +0000)]
Bugfix #27927

This fixes assigning 'tweak' keymap option for border selecting in
Node editor. Thanks Perry Parks for the patch!

7 years agoscript to report deprecated functions of text and their age in days.
Campbell Barton [Mon, 18 Jul 2011 09:49:26 +0000 (09:49 +0000)]
script to report deprecated functions of text and their age in days.

7 years agofix [#28003] Unable to delete vgroup
Campbell Barton [Mon, 18 Jul 2011 07:38:44 +0000 (07:38 +0000)]
fix [#28003] Unable to delete vgroup
still need to find how an invalid defgroup index is set, but at least dont show the vertex group as selected when its not.

7 years agofix [#27996] Smart UV Unwrap Still Results in Overlaps
Campbell Barton [Mon, 18 Jul 2011 06:44:41 +0000 (06:44 +0000)]
fix [#27996] Smart UV Unwrap Still Results in Overlaps
real fix this time :S, I thought using old code from 2.4x would fix but quaternion needed to be inverted.

7 years agofix [#28005] Python Add-Ons are constantly reloaded if twice in the path
Campbell Barton [Mon, 18 Jul 2011 05:41:46 +0000 (05:41 +0000)]
fix [#28005] Python Add-Ons are constantly reloaded if twice in the path
Addons are checked for their timestamps and reloaded when it changes but this failed when, 2 addons had the same name since different times caused 2 reloads on every redraw.

Now when duplicate addons are in the path now give a error message in the UI and print path conflict in the console and don't thrash reloading.

7 years agofix [#27971] Blender OBJ export with Z-Up setting produces an error and fails
Campbell Barton [Mon, 18 Jul 2011 05:07:54 +0000 (05:07 +0000)]
fix [#27971] Blender OBJ export with Z-Up setting produces an error and fails
changes to extensions coming up...

7 years agoBug fix: particle cache should only be cleared on the exact first integer frame,...
Janne Karhu [Mon, 18 Jul 2011 02:40:54 +0000 (02:40 +0000)]
Bug fix: particle cache should only be cleared on the exact first integer frame, not in the case of a subframe between the first and second frame.

7 years agoBGE Animations: Allow the Copy Transform constraint to work with external targets...
Mitchell Stokes [Sun, 17 Jul 2011 20:06:50 +0000 (20:06 +0000)]
BGE Animations: Allow the Copy Transform constraint to work with external targets in the game engine.

7 years agoModified behavior when replacing input links: The new target socket for the existing...
Lukas Toenne [Sun, 17 Jul 2011 19:43:14 +0000 (19:43 +0000)]
Modified behavior when replacing input links: The new target socket for the existing link is now chosen from available sockets that match the _target_ type, instead of the source type. This leads to more usable replacements, e.g. for toggling inputs on mix nodes. Still not a great solution to the mute/autoconnect problem, but a bit more intuitive for replacements.

7 years agoMaterial Animation export. (on going)
Sukhitha Prabhath Jayathilake [Sun, 17 Jul 2011 18:51:03 +0000 (18:51 +0000)]
Material Animation export. (on going)

7 years agoChanged the default keys for duplicate-nodes-while-keeping-input-links to ctrl+shift...
Lukas Toenne [Sun, 17 Jul 2011 18:17:35 +0000 (18:17 +0000)]
Changed the default keys for duplicate-nodes-while-keeping-input-links to ctrl+shift+dkey, to avoid conflicts with alt+dkey for linked duplicates.

7 years agoLittle modification of the duplicate operator on artist request: The default behavior...
Lukas Toenne [Sun, 17 Jul 2011 18:04:28 +0000 (18:04 +0000)]
Little modification of the duplicate operator on artist request: The default behavior (shift+dkey) is now to copy nodes and internal links, but not the input links from unselected nodes. This feature is available with the alternate duplicate operator (alt+dkey).

7 years agoIdentify material Animations to export.
Sukhitha Prabhath Jayathilake [Sun, 17 Jul 2011 17:30:41 +0000 (17:30 +0000)]
Identify material Animations to export.

7 years agoSet material Sid addressing.
Sukhitha Prabhath Jayathilake [Sun, 17 Jul 2011 16:39:19 +0000 (16:39 +0000)]
Set material Sid addressing.

7 years agoRemoved the autoconnect call when adding new nodes, this hardly ever gives usable...
Lukas Toenne [Sun, 17 Jul 2011 16:14:52 +0000 (16:14 +0000)]
Removed the autoconnect call when adding new nodes, this hardly ever gives usable results and leads to annoyed artists.

7 years agotemplate for patch exporting objects in a scene.
Campbell Barton [Sun, 17 Jul 2011 13:29:50 +0000 (13:29 +0000)]
template for patch exporting objects in a scene.

7 years agoupdate to cmake checker script to also check if our include paths are ok
Campbell Barton [Sun, 17 Jul 2011 12:42:03 +0000 (12:42 +0000)]
update to cmake checker script to also check if our include paths are ok

7 years agopatch [#28001] Find the nearest point on an object to the given location
Campbell Barton [Sun, 17 Jul 2011 12:40:18 +0000 (12:40 +0000)]
patch [#28001] Find the nearest point on an object to the given location
from Andrew Hale (trumanblending)

7 years agoBugfix [#27412] PoseLib bug(maybe also corrupted data)
Joshua Leung [Sun, 17 Jul 2011 12:37:38 +0000 (12:37 +0000)]
Bugfix [#27412] PoseLib bug(maybe also corrupted data)

* Find first unused frame function was failing to correctly detect
conflicts with the lower bound due to the way that markers are not
stored in sorted order. Fixed by performing additional search passes.

* Fixed some update bugs where there were missing notifiers. Most
noticable when the poselib is being viewed in an Action Editor

7 years ago'bgl' python module.
Campbell Barton [Sun, 17 Jul 2011 12:30:23 +0000 (12:30 +0000)]
'bgl' python module.

- add back slicing for buffers, (was previously in 2.4x but not working in py3):
  buf = bgl.Buffer(...)
  ls = buf[:]

- fix for crash with negative index access not being clamped.

- improve repr() function for multi dimensional buffers.

- add back 'list' attribute, but print deprecation warning.

7 years agoFixed compile error on Fedora 15, when FFMPEG was enabled.
Jiri Hnidek [Sun, 17 Jul 2011 10:28:31 +0000 (10:28 +0000)]
Fixed compile error on Fedora 15, when FFMPEG was enabled.

7 years agocmake: cleanup include paths, some duplicates and going up some unneeded dirs.
Campbell Barton [Sun, 17 Jul 2011 09:11:13 +0000 (09:11 +0000)]
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.

7 years agoAdded notifier listener for node editor.
Sergey Sharybin [Sun, 17 Jul 2011 08:38:04 +0000 (08:38 +0000)]
Added notifier listener for node editor.

Now it behaves right on playback:

- Starting playback "Anim Player" button appears on header.
  It used to appear only on mouse hover before.
- Stopping playback triggers refresh on compositor, so
  actual result would be visible if image sequence/movie
  is used in nodes.

7 years agocmake source definitions:
Campbell Barton [Sat, 16 Jul 2011 23:01:14 +0000 (23:01 +0000)]
cmake source definitions:
  remove missing includes and use more strict formatting.

7 years agoFixed crash of multires baker when baking from sculpt mode.
Sergey Sharybin [Sat, 16 Jul 2011 17:55:46 +0000 (17:55 +0000)]
Fixed crash of multires baker when baking from sculpt mode.

Incorrect low level was used for this case -- it should be
sculpt level, not preview level.

Thanks to Morten Mikkelsen to point on this bug :)

7 years agoSmall bugfix for prior commit - Removing constraints no longer causes an error
Benjy Cook [Sat, 16 Jul 2011 13:48:43 +0000 (13:48 +0000)]
Small bugfix for prior commit - Removing constraints no longer causes an error

7 years agoKeyframing Motion capture properties now works for the Point constraint. Also, Floor...
Benjy Cook [Sat, 16 Jul 2011 13:36:47 +0000 (13:36 +0000)]
Keyframing Motion capture properties now works for the Point constraint. Also, Floor constraint has been implemented, using Object's raycasting function in Python

7 years agoprint an error message if Python.h can't be found for cmake and scons since its such...
Campbell Barton [Sat, 16 Jul 2011 06:55:45 +0000 (06:55 +0000)]
print an error message if Python.h can't be found for cmake and scons since its such a common problem.

7 years agoBugfix [#27157] keyframing a constrained bone does not work as before
Joshua Leung [Sat, 16 Jul 2011 06:46:39 +0000 (06:46 +0000)]
Bugfix [#27157] keyframing a constrained bone does not work as before

Visual Keyframing was broken by r.34685, which used another method
which, at the time, appeared to work perfectly fine. Apparently not.

Also, extend/fixed visual keying to work for axis-angle rotations too.
Needs some testing, but should probably work

7 years agoBGE Animations: Updating the python docs.
Mitchell Stokes [Sat, 16 Jul 2011 05:29:15 +0000 (05:29 +0000)]
BGE Animations: Updating the python docs.

7 years agoBGE Animations: Some updates to the Python api:
Mitchell Stokes [Sat, 16 Jul 2011 05:25:15 +0000 (05:25 +0000)]
BGE Animations: Some updates to the Python api:
  * Adding methods KX_GameObject.stopAction() and KX_GameObject.isPlayingAction().
  * Made all layer arguments optional. This means I had to change setActionFrame(layer, frame) to setActionFrame(frame, layer=0). This seems a little backwards to me, but I guess that's what you get with optional arguments. Also, this will break existing scripts.
  * Made sure to check user supplied layer values on all action methods. Previously this was only done for playAction().
  * Fixed a few newline issues.

7 years agofix for crash with edit armature buttons when no bones were selected (uninitialized...
Campbell Barton [Fri, 15 Jul 2011 23:55:20 +0000 (23:55 +0000)]
fix for crash with edit armature buttons when no bones were selected (uninitialized pointer)

7 years agoFix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
Janne Karhu [Fri, 15 Jul 2011 13:32:02 +0000 (13:32 +0000)]
Fix for [#26712] Particle group instance 'Use Count' value gets reset on file-load.
* New object pointers can't be loaded properly for library linked groups, so the weight groups now store an index to the group objects at save time. This index is used at load time to set the objects without relying on the old pointers.
* If the library linked group is modified the indices can be wrong, but this can't really be avoided easily as there's no way to relate objects in a linked group between loads.

7 years agofix for linking on mingw/scons with recent changes to mathutils
Campbell Barton [Fri, 15 Jul 2011 10:10:25 +0000 (10:10 +0000)]
fix for linking on mingw/scons with recent changes to mathutils

7 years agoBugfix: Retargeting now works when user rig bones are not connected to their parents.
Benjy Cook [Fri, 15 Jul 2011 10:07:02 +0000 (10:07 +0000)]
Bugfix: Retargeting now works when user rig bones are not connected to their parents.

7 years agomove mathutils into its own lib.
Campbell Barton [Fri, 15 Jul 2011 04:01:47 +0000 (04:01 +0000)]
move mathutils into its own lib.

7 years agoFix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
Janne Karhu [Fri, 15 Jul 2011 00:39:49 +0000 (00:39 +0000)]
Fix for [#27307] Blender crashes when loading a new scene while baking fluid dynamics
* Fluid bakes didn't respect the job stop flag.
* Also made msvc happy with some casts.

7 years agoBugfix: Baking mocap constraints now works for user created IK bones
Benjy Cook [Thu, 14 Jul 2011 13:26:23 +0000 (13:26 +0000)]
Bugfix: Baking mocap constraints now works for user created IK bones