blender.git
8 years agomore minor warning cleanups and improve error reporting if text fails to save.
Campbell Barton [Wed, 27 Jul 2011 06:55:20 +0000 (06:55 +0000)]
more minor warning cleanups and improve error reporting if text fails to save.

8 years agoshift-motion to pan with 3D mouse
Mike Erwin [Tue, 26 Jul 2011 22:43:07 +0000 (22:43 +0000)]
shift-motion to pan with 3D mouse

8 years ago* Fixed a typo in the code (uiLayoutItemSplt -> uiLayoutItemSplit)
Thomas Dinges [Tue, 26 Jul 2011 20:22:54 +0000 (20:22 +0000)]
* Fixed a typo in the code (uiLayoutItemSplt -> uiLayoutItemSplit)

8 years agoFix part of [#28088] bad button spacing with layout engine for menu items.
Thomas Dinges [Tue, 26 Jul 2011 20:05:17 +0000 (20:05 +0000)]
Fix part of [#28088] bad button spacing with layout engine for menu items.
* Fixed a cut off text.
* small cleanup

8 years ago- bugfix for icon listview where the icons would only wrap once
Campbell Barton [Tue, 26 Jul 2011 19:47:56 +0000 (19:47 +0000)]
- bugfix for icon listview where the icons would only wrap once
- also quiet some clang warnings

8 years agoonscreen ndof rotation guide (center + axis)
Mike Erwin [Tue, 26 Jul 2011 16:17:00 +0000 (16:17 +0000)]
onscreen ndof rotation guide (center + axis)

8 years agoRNA: function calls with optional parameters were not giving correct default
Brecht Van Lommel [Tue, 26 Jul 2011 16:01:09 +0000 (16:01 +0000)]
RNA: function calls with optional parameters were not giving correct default
values for arrays.

8 years agoCamera tracking integration
Sergey Sharybin [Tue, 26 Jul 2011 15:58:29 +0000 (15:58 +0000)]
Camera tracking integration
===========================

- Clip Editor now could be an owner for jobs. It was useful
  when i've been attaching Peter's work in my local repo.
- Fixed mouse selection to handle offset correct.

8 years agoMerging r38704 through r38732 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 26 Jul 2011 15:56:53 +0000 (15:56 +0000)]
Merging r38704 through r38732 from trunk into soc-2011-tomato

8 years agocorrect misc warnings
Campbell Barton [Tue, 26 Jul 2011 13:33:04 +0000 (13:33 +0000)]
correct misc warnings

8 years agofix for NULL pointer crash with operator repeat, looks like error print got mixed up.
Campbell Barton [Tue, 26 Jul 2011 13:05:22 +0000 (13:05 +0000)]
fix for NULL pointer crash with operator repeat, looks like error print got mixed up.

8 years agoinclude menu ID's in tooltips when python tips are enabled, there was no way to find...
Campbell Barton [Tue, 26 Jul 2011 09:19:51 +0000 (09:19 +0000)]
include menu ID's in tooltips when python tips are enabled, there was no way to find the ID of a menu which become annoying if you wanted to reference it from a script.

8 years agoFix #28087: Opening files in the text editor ignores the last newline '\n'
Sergey Sharybin [Tue, 26 Jul 2011 08:13:27 +0000 (08:13 +0000)]
Fix #28087: Opening files in the text editor ignores the last newline '\n'

It was tricky conversion of file buffer to text lines. Should work fine now.

8 years agoset the development cycle to 'beta'.
Campbell Barton [Tue, 26 Jul 2011 07:41:14 +0000 (07:41 +0000)]
set the development cycle to 'beta'.

8 years agopy api:
Campbell Barton [Tue, 26 Jul 2011 07:39:00 +0000 (07:39 +0000)]
py api:
- added menu templates
- move template menu into the header of the text editor (so users will find more easily)
- updated mathutils examples, switching the order of multiplication.

8 years agoexperimental onscreen rotation guide
Mike Erwin [Tue, 26 Jul 2011 02:35:46 +0000 (02:35 +0000)]
experimental onscreen rotation guide

8 years agoCamera tracking integration
Sergey Sharybin [Mon, 25 Jul 2011 18:11:22 +0000 (18:11 +0000)]
Camera tracking integration
===========================

- Split clip hotkeys into two categories:
  * Global
  * Editing
  This allows to re-use such hotkeys as track markers
  from properties region without worrying about conflicts.
- Anchor point could now be offseted from marker position.
- Pattern can now be symmetrical relative to marker position only.
- Changes to mouse sliding:
  * Left top rectangle used for marker position and now
    it's half inside and half outside of marker.
  * Right bottom corners are for size.
  * Anchor point can be slided with mouse to adjust offset.
- Resolved conflict caused by left-mouse selection option.
  Now it works perfectly with sliding -- no more "sticky" keys or so.
- Fixed some typos.

8 years agoMerging r38637 through r38703 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 25 Jul 2011 18:05:27 +0000 (18:05 +0000)]
Merging r38637 through r38703 from trunk into soc-2011-tomato

8 years agoFix #28035: point density texture doesn't bake.
Brecht Van Lommel [Mon, 25 Jul 2011 16:37:10 +0000 (16:37 +0000)]
Fix #28035: point density texture doesn't bake.

8 years agoFix #28079: UV propertional editing was incorrectly influenced by the
Brecht Van Lommel [Mon, 25 Jul 2011 16:16:32 +0000 (16:16 +0000)]
Fix #28079: UV propertional editing was incorrectly influenced by the
mesh X mirror option.

8 years agoFix #28014: joystick sensor not working. Broke this with an earlier commit
Brecht Van Lommel [Mon, 25 Jul 2011 15:44:41 +0000 (15:44 +0000)]
Fix #28014: joystick sensor not working. Broke this with an earlier commit
trying to fix blenderplayer startup warnings. It seems we do need to init
the SDL video subsystem even if we only want events, thanks Juha Maki-Kanto
for pointing this out.

8 years agoBGE BugFix for: [#23874] Custom projection matrix doesn't work in custom viewport
Dalai Felinto [Mon, 25 Jul 2011 15:37:55 +0000 (15:37 +0000)]
BGE BugFix for: [#23874] Custom projection matrix doesn't work in custom viewport
This was never highly tested, that's why I never committed (my patch for this was from September 2010).

But once again I got a report that this bug was a deal-break and the patch seems to work for this artist.
I believe it's working, but I will keep my eyes open for this.

8 years agomore vector order switching.
Campbell Barton [Mon, 25 Jul 2011 09:31:39 +0000 (09:31 +0000)]
more vector order switching.

8 years agominor edits to animation playback operator
Campbell Barton [Mon, 25 Jul 2011 07:14:54 +0000 (07:14 +0000)]
minor edits to animation playback operator
- remove own copyright from script
- print command before executing (helps troubleshooting)

8 years agostyle changes for operator scripts & some pep8 edits.
Campbell Barton [Mon, 25 Jul 2011 06:40:16 +0000 (06:40 +0000)]
style changes for operator scripts & some pep8 edits.

8 years agofix for DingTo's recent commit with the animation player, it ignored the case where...
Campbell Barton [Mon, 25 Jul 2011 06:38:21 +0000 (06:38 +0000)]
fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).

now try and execute player, reporting the exception rather then checking the player file exists.
also made some pep8-80 style edits.

8 years agoswap vertor multiplication order for add torus.
Campbell Barton [Mon, 25 Jul 2011 06:09:39 +0000 (06:09 +0000)]
swap vertor multiplication order for add torus.

8 years agoedits to quick effects scripts
Campbell Barton [Mon, 25 Jul 2011 05:54:32 +0000 (05:54 +0000)]
edits to quick effects scripts
- use uv layer data api rather then operator.
- switch vector rotation order.
- made some style changes, use 80 width.

8 years agoExternal image operators.
Campbell Barton [Mon, 25 Jul 2011 05:10:44 +0000 (05:10 +0000)]
External image operators.
- use bpy.data.is_saved (was using a workaround from when before this attribute was added)
- fixed a bug where editing relative paths could fail.

8 years agofix [#28075] After the correction of No.38528 is applied, the following phenomenon...
Campbell Barton [Mon, 25 Jul 2011 04:00:11 +0000 (04:00 +0000)]
fix [#28075] After the correction of No.38528 is applied, the following phenomenon has been generated.
own fault in recent addition of bpy.path.basename() not supporting byte paths.

8 years agoreverse vector multiplication order for some internal functions.
Campbell Barton [Mon, 25 Jul 2011 03:59:01 +0000 (03:59 +0000)]
reverse vector multiplication order for some internal functions.

8 years agoinvert axes option affects trackball navigation
Mike Erwin [Mon, 25 Jul 2011 03:13:15 +0000 (03:13 +0000)]
invert axes option affects trackball navigation

8 years agodeprecate multiplication orders:
Campbell Barton [Mon, 25 Jul 2011 01:44:19 +0000 (01:44 +0000)]
deprecate multiplication orders:
 vector * matrix
 vector *= matrix
 vector * quaternion
 vector *= quaternion

Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.

8 years agoupdated ndof popup menu (part 2 of 2)
Mike Erwin [Mon, 25 Jul 2011 00:21:35 +0000 (00:21 +0000)]
updated ndof popup menu (part 2 of 2)

8 years agoadded option to invert axes for orbiting (part 1 of 2)
Mike Erwin [Mon, 25 Jul 2011 00:20:45 +0000 (00:20 +0000)]
added option to invert axes for orbiting (part 1 of 2)

8 years agoset default values for all other ndof flags
Mike Erwin [Mon, 25 Jul 2011 00:10:42 +0000 (00:10 +0000)]
set default values for all other ndof flags

8 years agospoof MOUSEMOVE after NDOF_MOTION event, added comments
Mike Erwin [Mon, 25 Jul 2011 00:03:07 +0000 (00:03 +0000)]
spoof MOUSEMOVE after NDOF_MOTION event, added comments

8 years agoremoved old ndof transform stuff, added experimental ndof nav during transform (might...
Mike Erwin [Mon, 25 Jul 2011 00:00:53 +0000 (00:00 +0000)]
removed old ndof transform stuff, added experimental ndof nav during transform (might disable for release)

8 years agoEffector calculations are now thread safe.
Janne Karhu [Sun, 24 Jul 2011 17:44:22 +0000 (17:44 +0000)]
Effector calculations are now thread safe.
* where_is_object_time was called for every effector evaluation only to determine the object velocity in some rare cases.
* Calculating the effector velocity is now done in the effector precalculation stage.
* Removing this makes the code thread safe and also should give some nice performance boosts when simulating a lot of points.
* Thanks to MiikaH for noticing this problem.

8 years agoCamera tracking integration
Sergey Sharybin [Sun, 24 Jul 2011 12:36:14 +0000 (12:36 +0000)]
Camera tracking integration
===========================

- Fixed incorrect mouse sliding when resizing area which isn't
  symmetrical to marker's position.
- Added "Clip" group to User Preferences -> Input lust.
  Now hotkeys can be investigated there and also, they can be changed there.

8 years ago2.5 World Buttons:
Thomas Dinges [Sun, 24 Jul 2011 11:24:30 +0000 (11:24 +0000)]
2.5 World Buttons:
* Exposure and Color Range buttons were missing, added them back.

8 years ago* Minor code cleanup / comment changing. No functional changes.
Thomas Dinges [Sun, 24 Jul 2011 11:11:23 +0000 (11:11 +0000)]
* Minor code cleanup / comment changing. No functional changes.

8 years agoNew dilation function from Morten Mikkelsen (aka sparky).
Sergey Sharybin [Sun, 24 Jul 2011 10:26:22 +0000 (10:26 +0000)]
New dilation function from Morten Mikkelsen (aka sparky).

This commit fixes very noticeable seams caused by margins
calculated incorrectly. This commit changes way margin is
calculated in and makes textures really seamless.

Also margin limited to 32 isn't good now -- artists are baking
really large textures nowadays so margin is now limited to 64px.

Thank you, Morten!

8 years agoDefault for ndof_sensitivity to 1.0 in case 0.0 is found on start.
Nathan Letwory [Sun, 24 Jul 2011 08:50:09 +0000 (08:50 +0000)]
Default for ndof_sensitivity to 1.0 in case 0.0 is found on start.

8 years agoAdd mapping for front/right/top aligned to selected object.
Nathan Letwory [Sun, 24 Jul 2011 08:37:43 +0000 (08:37 +0000)]
Add mapping for front/right/top aligned to selected object.

8 years agosculpt/paint while using 3D mouse
Mike Erwin [Sun, 24 Jul 2011 08:02:42 +0000 (08:02 +0000)]
sculpt/paint while using 3D mouse

8 years agoAdd Push/Pull to toolbar
Daniel Salazar [Sun, 24 Jul 2011 00:59:03 +0000 (00:59 +0000)]
Add Push/Pull to toolbar

8 years agominor cleanup of Mac ndof manager
Mike Erwin [Sun, 24 Jul 2011 00:52:18 +0000 (00:52 +0000)]
minor cleanup of Mac ndof manager

8 years agondof overall sensitivity is now live
Mike Erwin [Sun, 24 Jul 2011 00:40:39 +0000 (00:40 +0000)]
ndof overall sensitivity is now live

8 years ago2.5:
Thomas Dinges [Sat, 23 Jul 2011 22:08:37 +0000 (22:08 +0000)]
2.5:
* Removed some old not used code.

8 years agoremoved ancient ndof global, removed my own attempt at a C popup menu (the Python...
Mike Erwin [Sat, 23 Jul 2011 21:55:52 +0000 (21:55 +0000)]
removed ancient ndof global, removed my own attempt at a C popup menu (the Python one works)

8 years ago2.5 External animation player:
Thomas Dinges [Sat, 23 Jul 2011 21:45:22 +0000 (21:45 +0000)]
2.5 External animation player:
* Fixed an error when "Custom" was used and the path was empty (variable reference before assignment)
* The Operator now raises an error if there is no path or the path given is not available.

8 years agoanother CMake build fix (contributed by Kevin Cozens)
Mike Erwin [Sat, 23 Jul 2011 21:33:04 +0000 (21:33 +0000)]
another CMake build fix (contributed by Kevin Cozens)

8 years agomore cautious device detection, minor cleanup
Mike Erwin [Sat, 23 Jul 2011 21:29:19 +0000 (21:29 +0000)]
more cautious device detection, minor cleanup

8 years agoMerging r38615 through r38636 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 23 Jul 2011 18:42:58 +0000 (18:42 +0000)]
Merging r38615 through r38636 from trunk into soc-2011-tomato

8 years agoCamera tracking integration
Sergey Sharybin [Sat, 23 Jul 2011 18:37:20 +0000 (18:37 +0000)]
Camera tracking integration
===========================

- Fixed bug with copying colors to all selected markers.
- Hide mouse cursor when sliding from preview widget.
- Shit-key holded down during sliding in preview area makes
  sliding more accurate.
- Fixed bug with preview area refresh when disabling colors.

8 years agobugfix: [#28026] Copy Game Property broken
Dalai Felinto [Sat, 23 Jul 2011 18:03:01 +0000 (18:03 +0000)]
bugfix: [#28026] Copy Game Property broken

not exactly a bug, but the option to copy individual properties was not working from the SPACE menu.
I believe this was happening because we are using dynamic enums.

This commit makes the "merge" option to be the default one. So if you call it from the SPACE menu it will be the one used.

8 years agoCamera tracking integration
Sergey Sharybin [Sat, 23 Jul 2011 16:42:54 +0000 (16:42 +0000)]
Camera tracking integration
===========================

VIEW3D_CAMERA_BORDER_HACK broke bundles displaying in 3d viewport.

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

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

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 22 Jul 2011 21:52:17 +0000 (21:52 +0000)]
Camera tracking integration
===========================

Fixed bug in Join Tracks operator: if there are two keyframes for
the same frame but one of makers is disabled then there's no error.

8 years agoMerging r38562 through r38614 from trunkinto soc-2011-tomato
Sergey Sharybin [Fri, 22 Jul 2011 16:58:22 +0000 (16:58 +0000)]
Merging r38562 through r38614 from trunkinto soc-2011-tomato

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

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 22 Jul 2011 16:18:51 +0000 (16:18 +0000)]
Camera tracking integration
===========================

- Operator "Join Selected Tracks".
  This operator joins all selected tracks to active track.
  Hotkey is Ctrl-J.
- Operator "Select Grouped".
  Now it's easy to select all locked/keyframes/etc markers.
  Hotkey is Shit-G.
- Operator to jump to beginning/end of active path.
  Hotkeys are Shift+Ctrl+Arrow Left/Right.
- Operator to copy color from active track to all tracks.

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

8 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

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

8 years agoFix compile error due to faulty merge.
Nathan Letwory [Fri, 22 Jul 2011 14:13:28 +0000 (14:13 +0000)]
Fix compile error due to faulty merge.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 22 Jul 2011 14:06:31 +0000 (14:06 +0000)]
Camera tracking integration
===========================

- Damn hidden searches. Again fix in select_all operator.
  This time for inverted selection.
- Do not select "hidden" parts of marker on creation.
- Added modifier key for marker transformation:
  if alt is pressed down -- pattern/search will be moving
  relative to marker center.
- Changed behavior of mouse sliding:
  * To change marker position markers should be slided by it's center.
  * Left-top corners now used to offset pattern/search relative to
   marker center.
  * Hide mouse cursor during sliding.

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

8 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

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

8 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

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

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

8 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

8 years agoShow NDOF sensitivity field in userprefs
Nathan Letwory [Thu, 21 Jul 2011 22:26:58 +0000 (22:26 +0000)]
Show NDOF sensitivity field in userprefs

8 years agoKeymap editor now understands NDOF (button) events too.
Nathan Letwory [Thu, 21 Jul 2011 21:43:42 +0000 (21:43 +0000)]
Keymap editor now understands NDOF (button) events too.

8 years agotweaked ephemeral ndof data types
Mike Erwin [Thu, 21 Jul 2011 21:40:04 +0000 (21:40 +0000)]
tweaked ephemeral ndof data types

8 years agoHandle NDOF events on RNA side for windowmanager.
Nathan Letwory [Thu, 21 Jul 2011 21:40:00 +0000 (21:40 +0000)]
Handle NDOF events on RNA side for windowmanager.

8 years agoenable CMake builds with spacenav (contributed by Kevin Cozens)
Mike Erwin [Thu, 21 Jul 2011 21:34:28 +0000 (21:34 +0000)]
enable CMake builds with spacenav (contributed by Kevin Cozens)

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

8 years agoPrepare for NDOF event handling all the way to keymaps (and keymap editor).
Nathan Letwory [Thu, 21 Jul 2011 20:57:23 +0000 (20:57 +0000)]
Prepare for NDOF event handling all the way to keymaps (and keymap editor).

8 years agoSimple ifndef guards, so we don't get redefines.
Nathan Letwory [Thu, 21 Jul 2011 20:54:47 +0000 (20:54 +0000)]
Simple ifndef guards, so we don't get redefines.

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

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 17:02:04 +0000 (17:02 +0000)]
Camera tracking integration
===========================

Second attempt to fix log2f issue. Should work now.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 16:56:44 +0000 (16:56 +0000)]
Camera tracking integration
===========================

Attempt to fix undefined log2f function.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 16:04:01 +0000 (16:04 +0000)]
Camera tracking integration
===========================

Fixed own mistake in changed Select All operator.

8 years agoMerging r38516 through r38561 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 21 Jul 2011 15:04:41 +0000 (15:04 +0000)]
Merging r38516 through r38561 from trunk into soc-2011-tomato

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 14:59:56 +0000 (14:59 +0000)]
Camera tracking integration
===========================

Forgot to initialize aspect ratio for opening clip.

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 14:56:13 +0000 (14:56 +0000)]
Camera tracking integration
===========================

- Fixed discovered bug with selecting hidden marker areas with mouse.
- Refactor of context structure used for 2D tracking:
  * Tracker object is now per-track. This allows to use
    different pyramid levels for different tracks and
    now search area resizing shouldn't make tracking less
    accurate.
  * This is also be used for new optimized libmv API.
  * This allowed to use OpenMP to track different markers in
    separated threads.
    This allowed to reach quite cool speedup for multi-core CPU.

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

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 09:47:33 +0000 (09:47 +0000)]
Camera tracking integration
===========================

- Small fix for recent commit -- zoom was calculating incorrect
  for some values of aspect ratio.
- Small spelling fixes for operator descriptions.

8 years agosvn merge -r37276:38555 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
Nathan Letwory [Thu, 21 Jul 2011 09:40:59 +0000 (09:40 +0000)]
svn merge -r37276:38555 https://svn.blender.org/svnroot/bf-blender/trunk/blender .

8 years agoCamera tracking integration
Sergey Sharybin [Thu, 21 Jul 2011 09:23:25 +0000 (09:23 +0000)]
Camera tracking integration
===========================

- Fixed crash when transforming disabled marker.
- Select Inverse wouldn't select hidden parts of markers.
- Movie Clip display aspect ratio is now available on Display panel.

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

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

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

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

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