blender.git
7 years agomistake in own recent commit broke op[encollada with mingw
Campbell Barton [Sat, 27 Aug 2011 08:19:26 +0000 (08:19 +0000)]
mistake in own recent commit broke op[encollada with mingw

7 years ago- use python convention for headings
Campbell Barton [Sat, 27 Aug 2011 08:09:12 +0000 (08:09 +0000)]
- use python convention for headings
- use implicit examples rather than .. code-block::

7 years agofix for building with msvc, ssize_t is more correct but in this case its not going...
Campbell Barton [Sat, 27 Aug 2011 07:06:44 +0000 (07:06 +0000)]
fix for building with msvc, ssize_t is more correct but in this case its not going to give issues.

7 years agobpy Gotcha's section on bones by Bassam Kurdali, with some edit.
Campbell Barton [Sat, 27 Aug 2011 07:05:04 +0000 (07:05 +0000)]
bpy Gotcha's section on bones by Bassam Kurdali, with some edit.
added some examples & notes too.

7 years agoreplace octal 0177 with 127 to be more clear, no functional change.
Campbell Barton [Sat, 27 Aug 2011 03:34:11 +0000 (03:34 +0000)]
replace octal 0177 with 127 to be more clear, no functional change.

7 years ago- use %u rather tham %d for unsigned ints in string formatting funcs.
Campbell Barton [Sat, 27 Aug 2011 03:25:02 +0000 (03:25 +0000)]
- use %u rather tham %d for unsigned ints in string formatting funcs.
- replace (strlen(str) == 0) with str[0]=='\0'

7 years ago- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
Campbell Barton [Sat, 27 Aug 2011 03:20:32 +0000 (03:20 +0000)]
- fix for BL_Shader::SetUniform() missing out the last part of the matrix.
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values.
- some functions incorrectly took a float[3] argument when the 4th value was set.
- remove a few redundant lines of code.

7 years agoBGE: Post drawing callbacks are now done per viewport instead of per scene. This...
Mitchell Stokes [Sat, 27 Aug 2011 03:19:46 +0000 (03:19 +0000)]
BGE: Post drawing callbacks are now done per viewport instead of per scene. This is handy for things like having a different HUD for each player in a splitscreen game. To figure out what viewport you're drawing too, check the scene's active_camera.

7 years agoremove deprecated & unused sequencer transform vars
Campbell Barton [Sat, 27 Aug 2011 02:59:43 +0000 (02:59 +0000)]
remove deprecated & unused sequencer transform vars

7 years agosubtraction on unsigned values didnt work as intended for copying ID's.
Campbell Barton [Sat, 27 Aug 2011 02:45:35 +0000 (02:45 +0000)]
subtraction on unsigned values didnt work as intended for copying ID's.

7 years agobugfix for procedural textures used as bumpmap with osa not rendering right, also...
Campbell Barton [Sat, 27 Aug 2011 02:04:29 +0000 (02:04 +0000)]
bugfix for procedural textures used as bumpmap with osa not rendering right, also remove redundant assignment.

7 years agoremove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.
Campbell Barton [Sat, 27 Aug 2011 01:42:49 +0000 (01:42 +0000)]
remove deprecated & unused mat3_to_vec_rot and mat4_to_vec_rot functions.

7 years agobge py api XK_GameObject.linVelocityMin was returning linVelocityMax.
Campbell Barton [Sat, 27 Aug 2011 01:37:47 +0000 (01:37 +0000)]
bge py api XK_GameObject.linVelocityMin was returning linVelocityMax.

7 years agoeek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.
Campbell Barton [Sat, 27 Aug 2011 01:24:05 +0000 (01:24 +0000)]
eek F4TOCHAR4 was assigning alpha twice too!, tsk tsk.

7 years agoF3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriti...
Campbell Barton [Sat, 27 Aug 2011 01:20:55 +0000 (01:20 +0000)]
F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriting with 255).

7 years agosub_v4_v4v4 was taking float[3] arguments.
Campbell Barton [Fri, 26 Aug 2011 22:37:20 +0000 (22:37 +0000)]
sub_v4_v4v4 was taking float[3] arguments.

7 years agocorrect missing bpy doc references.
Campbell Barton [Fri, 26 Aug 2011 18:48:48 +0000 (18:48 +0000)]
correct missing bpy doc references.

7 years agoadded a section to gotcha's python bpy docs about unicode encoding problems.
Campbell Barton [Fri, 26 Aug 2011 18:32:23 +0000 (18:32 +0000)]
added a section to gotcha's python bpy docs about unicode encoding problems.

7 years agofix for crash when running a python script in a non utf8 blend path, inspecting the...
Campbell Barton [Fri, 26 Aug 2011 17:55:03 +0000 (17:55 +0000)]
fix for crash when running a python script in a non utf8 blend path, inspecting the exception for the path assumed utf8.

7 years agoFix #28301: Sculpting a object with rotational have desface
Sergey Sharybin [Fri, 26 Aug 2011 16:38:23 +0000 (16:38 +0000)]
Fix #28301: Sculpting a object with rotational have desface

Patch from Juha Maki-Kanto

- initgrabz was called with local space coord.
- Brush radiu was multiplying by 2.0 for grab and snake brushes.
  Not sure why this was needed. Made some tests and didn't notice
  any regressions without this multiplication.

7 years agoFix #28370: border select for curve and metaball did not update number of
Brecht Van Lommel [Fri, 26 Aug 2011 11:35:33 +0000 (11:35 +0000)]
Fix #28370: border select for curve and metaball did not update number of
selected vertices in info header. Patch by Julien Duroure, thanks!

7 years agowhen applying armature object transform now transform the bone roll too.
Campbell Barton [Fri, 26 Aug 2011 06:22:12 +0000 (06:22 +0000)]
when applying armature object transform now transform the bone roll too.

This means you can import a BVH, rotate 90d and apply the rotation, the animation will still work as expected - thanks to Benjy's script for showing how obvious it is that this works :)

7 years agodocument some of the pitfalls in the blender python api (taken from frequent mails...
Campbell Barton [Fri, 26 Aug 2011 04:00:55 +0000 (04:00 +0000)]
document some of the pitfalls in the blender python api (taken from frequent mails and bug reports)

7 years agofile-selector: when converting operator arguments to the file selector, wasnt making...
Campbell Barton [Fri, 26 Aug 2011 01:32:07 +0000 (01:32 +0000)]
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).

7 years agoexecuting operators that changed the context from the console wasnt returning an...
Campbell Barton [Thu, 25 Aug 2011 17:59:37 +0000 (17:59 +0000)]
executing operators that changed the context from the console wasnt returning an operator set/flag.

7 years agoerror when a python operator gave an incorrect return value was near useless, re...
Campbell Barton [Thu, 25 Aug 2011 17:54:30 +0000 (17:54 +0000)]
error when a python operator gave an incorrect return value was near useless, re-raise a more comprehensive error which includes the operator name.

7 years agobpy-rna - simplify enum string/set parsing.
Campbell Barton [Thu, 25 Aug 2011 17:01:33 +0000 (17:01 +0000)]
bpy-rna - simplify enum string/set parsing.

7 years agosanity checks on operator exec/modal/invoke return values.
Campbell Barton [Thu, 25 Aug 2011 16:42:42 +0000 (16:42 +0000)]
sanity checks on operator exec/modal/invoke return values.

7 years agoFix for [#28304]
Alexander Kuznetsov [Thu, 25 Aug 2011 16:41:08 +0000 (16:41 +0000)]
Fix for [#28304]

Show A: and B: drives in Windows file browser.

7 years agopicky style edits with screen/view/drawing, also remove own bad example doc.
Campbell Barton [Thu, 25 Aug 2011 15:49:52 +0000 (15:49 +0000)]
picky style edits with screen/view/drawing, also remove own bad example doc.

7 years agoups, syntax error, missing :
Jens Verwiebe [Thu, 25 Aug 2011 15:18:54 +0000 (15:18 +0000)]
ups, syntax error, missing :

7 years agoOSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link...
Jens Verwiebe [Thu, 25 Aug 2011 15:12:57 +0000 (15:12 +0000)]
OSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link framework, existing or not

7 years agoOSX: fix condition for NDOF linking
Jens Verwiebe [Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)]
OSX: fix condition for NDOF linking

7 years agoOSX/scons: don´t link to system stubs with 10.7 sdk
Jens Verwiebe [Thu, 25 Aug 2011 09:41:36 +0000 (09:41 +0000)]
OSX/scons: don´t link to system stubs with 10.7 sdk

7 years agoFix for [#28239] Particles Billboard 3x3 Split Error.
Janne Karhu [Thu, 25 Aug 2011 07:30:12 +0000 (07:30 +0000)]
Fix for [#28239] Particles Billboard 3x3 Split Error.
* Patch by Alex Fraser.

7 years agoSVN maintenance.
Guillermo S. Romero [Thu, 25 Aug 2011 06:16:26 +0000 (06:16 +0000)]
SVN maintenance.

7 years agomove wiki api intro and overview docs into the api reference docs.
Campbell Barton [Thu, 25 Aug 2011 04:25:33 +0000 (04:25 +0000)]
move wiki api intro and overview docs into the api reference docs.

Updated docs since some parts still were from beta still.

7 years agoPatch for bug #28289
Jeroen Bakker [Wed, 24 Aug 2011 20:48:37 +0000 (20:48 +0000)]
Patch for bug #28289

updated the logic behind node delete with reconnect.
When on input and output socket is connected, these two will be reconnected
see bug report for example.

http://projects.blender.org/tracker/?func=detail&aid=28289&group_id=9&atid=498

7 years agoCommitting patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE...
Mitchell Stokes [Wed, 24 Aug 2011 20:28:54 +0000 (20:28 +0000)]
Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.

Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."

7 years agopart of a patch from Dan Eicher for cmake packaging.
Campbell Barton [Wed, 24 Aug 2011 18:23:21 +0000 (18:23 +0000)]
part of a patch from Dan Eicher for cmake packaging.

7 years agothis should finally fix collada & ubuntu building with cmake
Campbell Barton [Wed, 24 Aug 2011 18:13:11 +0000 (18:13 +0000)]
this should finally fix collada & ubuntu building with cmake

7 years agoattempt to fix issue with opencollada + ubuntu ppa
Campbell Barton [Wed, 24 Aug 2011 17:09:25 +0000 (17:09 +0000)]
attempt to fix issue with opencollada + ubuntu ppa

7 years agoopencollada find module. hopefully solves the problem where includes can in an `...
Campbell Barton [Wed, 24 Aug 2011 16:04:35 +0000 (16:04 +0000)]
opencollada find module. hopefully solves the problem where includes can in an `/include` subdir or not.

7 years agofix [#28356] Import export STL files, problem in script in version r39307
Campbell Barton [Wed, 24 Aug 2011 14:22:41 +0000 (14:22 +0000)]
fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.

7 years agofix [#28340] Can't set image depth, quality from image save
Campbell Barton [Wed, 24 Aug 2011 00:44:58 +0000 (00:44 +0000)]
fix [#28340] Can't set image depth, quality from image save

7 years agofix [#28351] active RenderLayer can be set to None, leading to crash
Campbell Barton [Tue, 23 Aug 2011 20:54:44 +0000 (20:54 +0000)]
fix [#28351] active RenderLayer can be set to None, leading to crash

7 years agofix [#28352] Deleting group name in particle system -> panel: Render crashes Blender
Campbell Barton [Tue, 23 Aug 2011 20:49:06 +0000 (20:49 +0000)]
fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender

7 years agocmake: skip rpath (paths to libs) for portable distrobution
Campbell Barton [Tue, 23 Aug 2011 20:19:08 +0000 (20:19 +0000)]
cmake: skip rpath (paths to libs) for portable distrobution

7 years agofix for 3 bugs in bone renaming
Campbell Barton [Tue, 23 Aug 2011 19:58:15 +0000 (19:58 +0000)]
fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't  update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.

7 years agoBLI_strescape for a basic, python like string escaping, currently only use for drag...
Campbell Barton [Tue, 23 Aug 2011 15:08:54 +0000 (15:08 +0000)]
BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too.

7 years agoFix #28343: glsl error after derivative maps commit.
Brecht Van Lommel [Tue, 23 Aug 2011 13:15:18 +0000 (13:15 +0000)]
Fix #28343: glsl error after derivative maps commit.

7 years agofix [#28336] Particles: setting to zero the count of all elements of a group crashes...
Campbell Barton [Tue, 23 Aug 2011 12:09:20 +0000 (12:09 +0000)]
fix [#28336] Particles: setting to zero the count of all elements of a group crashes Blender

7 years agofix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads
Campbell Barton [Tue, 23 Aug 2011 11:46:16 +0000 (11:46 +0000)]
fix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads

7 years agoadd warning about misuse of ID.user_clear() since it can crash blender.
Campbell Barton [Tue, 23 Aug 2011 11:28:18 +0000 (11:28 +0000)]
add warning about misuse of ID.user_clear() since it can crash blender.

7 years agoMake Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked...
Campbell Barton [Tue, 23 Aug 2011 09:05:12 +0000 (09:05 +0000)]
Make Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked but used center select too.
instead add 'object' option to VIEW3D_OT_select.

7 years agoFix for [#28339] Rev:39618 The revision part doesn't suffice.
Thomas Dinges [Tue, 23 Aug 2011 08:02:48 +0000 (08:02 +0000)]
Fix for [#28339] Rev:39618 The revision part doesn't suffice.
NAN_BUILDINFO > WITH_BUILDINFO change from rev 39618 was missing in those files.

7 years agochange compression level for gzip saving to 1, approx twice as fast when saving a...
Campbell Barton [Tue, 23 Aug 2011 07:59:25 +0000 (07:59 +0000)]
change compression level for gzip saving to 1, approx twice as fast when saving a 194mb blend file and only slightly bigger.

7 years agoRevert a part of 39385.
Thomas Dinges [Mon, 22 Aug 2011 22:26:25 +0000 (22:26 +0000)]
Revert a part of 39385.
Vertex Select Button got somehow into the Mesh panel.

7 years agoglsl and render support for derivative maps
Morten Mikkelsen [Mon, 22 Aug 2011 19:57:54 +0000 (19:57 +0000)]
glsl and render support for derivative maps

7 years agoUpdate rules for linux cross and mingw: list of DLLs for FFmpeg should be defined...
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.

7 years agofix for buildinfo changes with blenderplayer
Campbell Barton [Mon, 22 Aug 2011 19:13:26 +0000 (19:13 +0000)]
fix for buildinfo changes with blenderplayer

7 years agoForgot this in previous commit
Sergey Sharybin [Mon, 22 Aug 2011 19:00:32 +0000 (19:00 +0000)]
Forgot this in previous commit

7 years agoactually, this if is still marginally good to have
Morten Mikkelsen [Mon, 22 Aug 2011 18:56:13 +0000 (18:56 +0000)]
actually, this if is still marginally good to have

7 years agoFFmpeg library update:
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.

7 years agoproperly escape chars for pythons bpy objects __repr__
Campbell Barton [Mon, 22 Aug 2011 18:13:37 +0000 (18:13 +0000)]
properly escape chars for pythons bpy objects __repr__

7 years agorename NAN_BUILDINFO --> WITH_BUILDINFO
Campbell Barton [Mon, 22 Aug 2011 16:54:26 +0000 (16:54 +0000)]
rename NAN_BUILDINFO --> WITH_BUILDINFO

7 years agobuildinfo is now quoted from the build systems, avoids stripping quotes on startup.
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

7 years agoremove workaround for bug in python 3.2.0 loading web pages on *nix
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

7 years agopep8 edits and change '!= None' to 'is not None'
Campbell Barton [Mon, 22 Aug 2011 09:01:49 +0000 (09:01 +0000)]
pep8 edits and change '!= None' to 'is not None'

7 years agopatch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011...
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)

7 years agofix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
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)

7 years agoname mandatory driver for OSX NDOF compile - testcommit same time
Jens Verwiebe [Sun, 21 Aug 2011 21:11:26 +0000 (21:11 +0000)]
name mandatory driver for OSX NDOF compile - testcommit same time

7 years agoFix #28154: linux3-config.py doesn't exist
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.

7 years agoSmall fix, report in IRC by Olivier:
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.

7 years agonew cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
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.

7 years agofix for out of bounds array access for shaded drawing in the UI, remove alpha blendin...
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.

7 years agofloats were being promoted to doubles in quite a few cases (using gcc's -Wdouble...
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%.

7 years agouse ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will...
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.

7 years agofix for crash when loading a file from a script, and executing user modules in the...
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.

7 years agoremove over zealous undo's on operators that don't need it.
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.

7 years agopy style change only - make property definitions consistent
Campbell Barton [Fri, 19 Aug 2011 19:25:20 +0000 (19:25 +0000)]
py style change only - make property definitions consistent

7 years agowarning cleanup for -Wdouble-promotion
Campbell Barton [Fri, 19 Aug 2011 16:21:29 +0000 (16:21 +0000)]
warning cleanup for -Wdouble-promotion

7 years agominor speedup to python/rna api keyword argument lookups.
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).

7 years agominor style change
Campbell Barton [Fri, 19 Aug 2011 10:35:47 +0000 (10:35 +0000)]
minor style change

7 years agostore a pointer to the units system in the uiBlock since the button code was doing...
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.

7 years agomisc changes to unterface & undo
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.

7 years agominor change for operator OUTLINER_OT_item_activate
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.

7 years agobugfix: genx and geny are not the image resolution. Texture space variant needs this.
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.

7 years agodisable undo for hard coded interface buttons:
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.

7 years agodisable undo for screen & wm RNA buttons, changing shading mode via the UI for eg...
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.

7 years agofix for undo issues with generic, multi-purpose WM_OT_context* operators, operators...
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.

7 years agomore minor changes to wm.py, get data_path's once at the start of each func and some...
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.

7 years agoformatting edits, no functional changes.
Campbell Barton [Thu, 18 Aug 2011 12:20:10 +0000 (12:20 +0000)]
formatting edits, no functional changes.

7 years agofix for bad array access in transform operator, was assigning an array to a single...
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.

7 years agoFix for [#28216] particles objects rotation still wrong with r39287
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.

7 years agoBGE: Upon further investigation this should have been 8 since up/down and left/right...
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.

7 years agoBGE: Upping the max Axis Number for the Axis event type on joystick sensors from...
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.

7 years agoFix #28207: animating pin option for cloth didn't work, solver doesn't support
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.

7 years agoFix #28265: blender 2.59 not starting on OS X with old ndof driver.
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.

7 years agoFix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
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.