blender-staging.git
8 years agoMerging r39634 through r39716 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 26 Aug 2011 20:12:54 +0000 (20:12 +0000)]
Merging r39634 through r39716 from trunk into soc-2011-tomato

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

8 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.

8 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.

8 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.

8 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!

8 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 :)

8 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)

8 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).

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

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

8 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

8 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

8 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

8 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.

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

8 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.

8 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

8 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."

8 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.

8 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

8 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

8 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.

8 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.

8 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

8 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

8 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

8 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

8 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.

8 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.

8 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.

8 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

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 years agoCamera tracking integration
Sergey Sharybin [Mon, 22 Aug 2011 19:43:07 +0000 (19:43 +0000)]
Camera tracking integration
===========================

Fixed bug with sliding from preview widget: markers should became keyfraned.

NOTE: This commit shouldn't be included into source sending to Google.

8 years agoMerging r39631 through r39633 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 22 Aug 2011 19:34:10 +0000 (19:34 +0000)]
Merging r39631 through r39633 from trunk into soc-2011-tomato

8 years agoMerging trunk into soc-2011-tomato.
Sergey Sharybin [Mon, 22 Aug 2011 19:30:05 +0000 (19:30 +0000)]
Merging trunk into soc-2011-tomato.

Pardon, lost message about which revisions are going to be merged..

8 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.

8 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

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

8 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

8 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.

8 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__

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

8 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

8 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

8 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'

8 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)

8 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)

8 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

8 years agoCamera tracking integration
Sergey Sharybin [Sun, 21 Aug 2011 17:08:05 +0000 (17:08 +0000)]
Camera tracking integration
===========================

Reverting commit 81613ee0cc94b315f333c9632b18b95d426aad05 from Matthias branch.
It destroyed lens distortion code.

8 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.

8 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.

8 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.

8 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.

8 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%.

8 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.

8 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.

8 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.

8 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

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 19:10:50 +0000 (19:10 +0000)]
Camera tracking integration
===========================

Fixed bug with undo push and tracking operator.
Was caused by some old refactor of jobs owned by screen area.

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

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 15:38:11 +0000 (15:38 +0000)]
Camera tracking integration
===========================

Another fix for MSVC.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 15:17:26 +0000 (15:17 +0000)]
Camera tracking integration
===========================

Previous fix wasn't checked and it was typo there.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 14:23:09 +0000 (14:23 +0000)]
Camera tracking integration
===========================

Fixes for MSVC.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 13:41:11 +0000 (13:41 +0000)]
Camera tracking integration
===========================

Bundle new libmv and add changes needed to support affine tracking.

Affine tracking itself would be added in next commit.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 19 Aug 2011 13:41:00 +0000 (13:41 +0000)]
Camera tracking integration
===========================

- Fixing keyframes when tracking frame-by-frame.
- Fixed small typo in array initializer.

8 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).

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

8 years agoMerging r39478 through r39542 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 19 Aug 2011 09:18:07 +0000 (09:18 +0000)]
Merging r39478 through r39542 from trunk into soc-2011-tomato

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 18 Aug 2011 21:20:12 +0000 (21:20 +0000)]
Camera tracking integration
===========================

Bundle new libmv to fix crash caused by some errors in detector.

This commit makes SAD tracking much slower because now it supports
afgine tracking. Not implemented in Blender yet to keep commits
more clear.

8 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.

8 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.

8 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.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 18 Aug 2011 17:47:13 +0000 (17:47 +0000)]
Camera tracking integration
===========================

Change behavior of alternate transformation/marker sliding:

- Update all markers from track position when sliding marker by
  it's left-top corner of pattern.
  This prevents confusing when adding offset to already tracker marker.
- The same change was done to translation tool.
- To switch to "offset" mode of translation tool now you should use
  G-key (hit it during translation). Alt key wasn't so good idea
  because it's quite common hotkey in linux to move windows.

8 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.

8 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.

8 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.

8 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.

8 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.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 18 Aug 2011 12:25:50 +0000 (12:25 +0000)]
Camera tracking integration
===========================

Auto-disable marker in mid-shot.

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

8 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.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 18 Aug 2011 11:10:10 +0000 (11:10 +0000)]
Camera tracking integration
===========================

Stop SAD tracker when error becomes too high.
Maximal allowed error value is controlled in Tracking Settings panel.
I haven't been able to find value which will work for most of cases
so it's now quite stupid value of 0. Currently values of 2-6 gives
quite nice result, but it depends on footage.
Upcoming changes from libmv side related on returning normalized SAD
would help here. Until this, please set max_sad manually.

8 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.

8 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.

8 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.

8 years agoCamera tracking integration
Sergey Sharybin [Wed, 17 Aug 2011 18:37:25 +0000 (18:37 +0000)]
Camera tracking integration
===========================

Just another fix for MSVC.

8 years agoCamera tracking integration
Sergey Sharybin [Wed, 17 Aug 2011 17:44:38 +0000 (17:44 +0000)]
Camera tracking integration
===========================

Another fix for msvc/osx. Hope it'll work now.

8 years agoCamera tracking integration
Sergey Sharybin [Wed, 17 Aug 2011 17:12:10 +0000 (17:12 +0000)]
Camera tracking integration
===========================

- Bundling new libmv, issues with undefined uint and C99 functions should gone.
- Changes to Detect operator to match new API.