blender.git
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.

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

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

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

8 years ago2.6 RNA:
Thomas Dinges [Wed, 17 Aug 2011 13:04:28 +0000 (13:04 +0000)]
2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.

8 years agoFix #28277: changing smoke border collision type did not reset cache, making
Brecht Van Lommel [Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)]
Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.

8 years agoFix #28194, #28269: proxy object was not showing pose mode as available in
Brecht Van Lommel [Wed, 17 Aug 2011 12:09:02 +0000 (12:09 +0000)]
Fix #28194, #28269: proxy object was not showing pose mode as available in
3d view header mode menu.

A recent bugfix was incorrectly hiding pose and particle mode when the object
data was library linked, but these modes edit object level settings so should
be available.

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

Additional code clean-up and fixed typo.
No functional changes.

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

Small cleanup of code and fixed crash when hiding all markers.

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

- Bundle new version of libmv.
- Use image from nearest track's keyframe as reference for tracking.
  This should reduce drifting.
- Added option to switch to new SAD tracker.
  This tracker doesn't support pattern with variable size (yet?)
  and always uses pattern 16x16px.
  Tracker could be choosed in Tracking Settings panel.

8 years agoMerging r39435 through r39477 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 17 Aug 2011 07:03:54 +0000 (07:03 +0000)]
Merging r39435 through r39477 from trunk into soc-2011-tomato

8 years agofix [#28274] Cant select aditional object in edit mode.
Campbell Barton [Tue, 16 Aug 2011 22:44:12 +0000 (22:44 +0000)]
fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x

8 years agofix for error calling RNA_property_float_get_index on non array float rotations when...
Campbell Barton [Tue, 16 Aug 2011 22:18:24 +0000 (22:18 +0000)]
fix for error calling RNA_property_float_get_index on non array float rotations when displaying.

8 years agoBugfix for [#28258] [UV editor] missing snapping option.
Thomas Dinges [Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)]
Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x.

I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.

8 years agoCamera tracking integration
Sergey Sharybin [Tue, 16 Aug 2011 15:56:21 +0000 (15:56 +0000)]
Camera tracking integration
===========================

- Added mode toggle operator.
- Hide Marker panel and show Display panel by default.
- Enable manual calibration by default.

8 years agoCamera tracking integration
Sergey Sharybin [Tue, 16 Aug 2011 14:58:38 +0000 (14:58 +0000)]
Camera tracking integration
===========================

- Remove unused DNA properties from SpaceClip.
- Split selected and active tracks. Now track can be active
  but not selected. Prevents unwanted interface flippering
  when working in Tracking mode.

8 years agoCamera tracking integration
Sergey Sharybin [Tue, 16 Aug 2011 14:58:24 +0000 (14:58 +0000)]
Camera tracking integration
===========================

Code clean-up:
- Remove unused args from template_movieclip.
- Remove C-defined "Marker" panel.
- Move all properties from old "Marker" panel to template_marker
  template. This properties would be displayed if compact is set to False.

8 years agominor fix, armature selection outline was not being drawn for non-active, selected...
Campbell Barton [Tue, 16 Aug 2011 13:46:51 +0000 (13:46 +0000)]
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.

8 years agoturns out recent commit made 'make' on its own fail.
Campbell Barton [Tue, 16 Aug 2011 13:45:17 +0000 (13:45 +0000)]
turns out recent commit made 'make' on its own fail.

8 years agoremove support for deprecated Vector() * Matrix(), eventually this will be added...
Campbell Barton [Tue, 16 Aug 2011 13:10:46 +0000 (13:10 +0000)]
remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.

8 years agoadd numpad key input for ghost/sdl
Campbell Barton [Tue, 16 Aug 2011 13:07:46 +0000 (13:07 +0000)]
add numpad key input for ghost/sdl

8 years agoFront/Back togles should not disable when curve is 2D and bevel object is used
Daniel Salazar [Tue, 16 Aug 2011 12:37:23 +0000 (12:37 +0000)]
Front/Back togles should not disable when curve is 2D and bevel object is used

http://www.pasteall.org/pic/show.php?id=16449

8 years agoConvenience targets for project files:
Campbell Barton [Tue, 16 Aug 2011 10:34:52 +0000 (10:34 +0000)]
Convenience targets for project files:

Project Files for IDE's
  * project_qtcreator - QtCreator Project Files
  * project_netbeans  - NetBeans Project Files
  * project_eclipse   - Eclipse CDT4 Project Files

8 years agoFix #28273: Crash playing with Follow path+Bevel+Material
Sergey Sharybin [Tue, 16 Aug 2011 10:31:28 +0000 (10:31 +0000)]
Fix #28273: Crash playing with Follow path+Bevel+Material

Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.

8 years ago'make help' message for the convenience makefile which lists optional targets.
Campbell Barton [Tue, 16 Aug 2011 10:01:19 +0000 (10:01 +0000)]
'make help' message for the convenience makefile which lists optional targets.

8 years agoadded cmake configureation presets, so on *nix systems you can do...
Campbell Barton [Tue, 16 Aug 2011 09:36:15 +0000 (09:36 +0000)]
added cmake configureation presets, so on *nix systems you can do...

 # minal blender with debug info
 make debug lite

 # blender with no ui
 make headless

 # blender as a python module
 make bpy

8 years ago2.6 Node Muting:
Thomas Dinges [Tue, 16 Aug 2011 08:40:25 +0000 (08:40 +0000)]
2.6 Node Muting:
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.

8 years agoCamera tracking integration
Sergey Sharybin [Tue, 16 Aug 2011 08:01:23 +0000 (08:01 +0000)]
Camera tracking integration
===========================

initial re-design commit:
- Added Mode to Clip Editor. Currently the following modes are present:
  * Tracking/Solving mode (default)
* Reconstruction mode
* Distortion mode
- Hide all tools/properties which doesn't make sense in current mode.
- Keep a look at new template template_marker. It's needed to control
  marker's properties, changing of which should produce new keyframe.
  Currently only "Enabled" property can be control. Probably all
properties from "Marker" panel could go there so this template
wouldn't be so specific.
- No operators are disabled for non-their mode. It means they
  can be triggered from Space menu or hotkey.
Need clear map operators into mode to prevent mess of poll function.

8 years agoMerging r39397 through r39434 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 16 Aug 2011 07:56:44 +0000 (07:56 +0000)]
Merging r39397 through r39434 from trunk into soc-2011-tomato

8 years agothe diffuse kernel I had first picked for dilation turned out to be not as great...
Morten Mikkelsen [Mon, 15 Aug 2011 17:55:25 +0000 (17:55 +0000)]
the diffuse kernel I had first picked for dilation turned out to be not as great as I first thought. This kernel is a more basic one (trite but true)

8 years agopatch [#22523] Expose Object.parentinv matrix via RNA
Campbell Barton [Mon, 15 Aug 2011 17:29:07 +0000 (17:29 +0000)]
patch [#22523] Expose Object.parentinv matrix via RNA
from Balajee R C (balajeerc)

8 years agoWindow was losing focus when switching from full screen via Alt+F11
Alexander Kuznetsov [Mon, 15 Aug 2011 16:26:37 +0000 (16:26 +0000)]
Window was losing focus when switching from full screen via Alt+F11
Fixes [#28243]

8 years agofix [#28227] join_uv and bake work wrong
Campbell Barton [Mon, 15 Aug 2011 16:25:05 +0000 (16:25 +0000)]
fix [#28227] join_uv and bake work wrong
added back ability to unwrap all selected mesh objects.

8 years agoCode cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
Brecht Van Lommel [Mon, 15 Aug 2011 16:18:04 +0000 (16:18 +0000)]
Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
functions.

8 years agoRemove message "Info: Config directory with "startup.blend" file not found."
Brecht Van Lommel [Mon, 15 Aug 2011 16:12:39 +0000 (16:12 +0000)]
Remove message "Info: Config directory with "startup.blend" file not found."

There's no reason to have it really, this situation is totally normal, and it
means a terminal window is opened on Windows as long as you haven't saved any
default settings yet.

8 years agoFix #27718: driving modifier properties was missing updates, fixed depsgraph.
Brecht Van Lommel [Mon, 15 Aug 2011 14:05:04 +0000 (14:05 +0000)]
Fix #27718: driving modifier properties was missing updates, fixed depsgraph.

8 years agoFix #28162: texture properties didn't show correct texture datablock chooser
Brecht Van Lommel [Mon, 15 Aug 2011 13:17:39 +0000 (13:17 +0000)]
Fix #28162: texture properties didn't show correct texture datablock chooser
in a particular setup with two nested material nodes. Material active texture
was looking also recursively into material node, but this was already done
outside of this function.

8 years agoFix #27803: editing texture did not update compositing nodes using that texture.
Brecht Van Lommel [Mon, 15 Aug 2011 12:07:52 +0000 (12:07 +0000)]
Fix #27803: editing texture did not update compositing nodes using that texture.

8 years agoFix #28202: deactivating keymap items not saving properly.
Brecht Van Lommel [Mon, 15 Aug 2011 10:03:17 +0000 (10:03 +0000)]
Fix #28202: deactivating keymap items not saving properly.

8 years agopy api - optional sep argument for bpy_extra.io_utils.unique_name() since for some...
Campbell Barton [Mon, 15 Aug 2011 04:58:19 +0000 (04:58 +0000)]
py api - optional sep argument for bpy_extra.io_utils.unique_name() since for some formats '.' is an invalid char.

8 years agoworkaround [#28250] Append dialogue will ask to create new directory inside a .blend
Campbell Barton [Mon, 15 Aug 2011 04:11:55 +0000 (04:11 +0000)]
workaround [#28250] Append dialogue will ask to create new directory inside a .blend

directory button isnt library aware, for now disable it when a libraries loaded.

8 years agocomment unused lines.
Campbell Barton [Mon, 15 Aug 2011 03:41:31 +0000 (03:41 +0000)]
comment unused lines.

8 years agofix for bug where changing movie filepaths would reset the strip length.
Campbell Barton [Sun, 14 Aug 2011 14:43:11 +0000 (14:43 +0000)]
fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.

8 years agoMerging r39391 through r39396 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 14 Aug 2011 12:44:42 +0000 (12:44 +0000)]
Merging r39391 through r39396 from trunk into soc-2011-tomato

8 years agopatch [#28247] Fix for: [#28236] Separate By Materials fails when some materials...
Campbell Barton [Sun, 14 Aug 2011 12:02:01 +0000 (12:02 +0000)]
patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)

8 years agofix for fix r39388, this added checkboxes to buttons which are not supposed to have...
Campbell Barton [Sun, 14 Aug 2011 11:38:17 +0000 (11:38 +0000)]
fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.

8 years agoMerging r39330 through r39390 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 14 Aug 2011 11:17:39 +0000 (11:17 +0000)]
Merging r39330 through r39390 from trunk into soc-2011-tomato

8 years agoadd in asserts for when array/non array RNA funcions are used incorrectly, would...
Campbell Barton [Sun, 14 Aug 2011 10:28:18 +0000 (10:28 +0000)]
add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.

8 years agofix [#28245] Checkboxes in menu items fail for boolean arrays.
Campbell Barton [Sun, 14 Aug 2011 10:17:41 +0000 (10:17 +0000)]
fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.

8 years agoFixing bug with editing keymaps when filter is enabled.
Sergey Sharybin [Sun, 14 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Fixing bug with editing keymaps when filter is enabled.

8 years agopatch [#28246] Fix for [#28240]: selecting more than one object in the outliner with...
Campbell Barton [Sun, 14 Aug 2011 08:39:13 +0000 (08:39 +0000)]
patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)

8 years agofix [#28225] Solidify Modifier creates wrong results when vertex group is attached
Campbell Barton [Sun, 14 Aug 2011 06:43:58 +0000 (06:43 +0000)]
fix [#28225] Solidify Modifier creates wrong results when vertex group is attached

infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.

8 years agobugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto
Dalai Felinto [Sun, 14 Aug 2011 04:37:53 +0000 (04:37 +0000)]
bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto

8 years ago- recently restored sequencer change data operator didnt reset the offsets after...
Campbell Barton [Sun, 14 Aug 2011 03:59:22 +0000 (03:59 +0000)]
- recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.

8 years ago2.6 UI Files:
Thomas Dinges [Sat, 13 Aug 2011 17:52:13 +0000 (17:52 +0000)]
2.6 UI Files:
* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!

8 years agorunning bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
Campbell Barton [Sat, 13 Aug 2011 14:24:53 +0000 (14:24 +0000)]
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.

8 years ago2.6 Release Cycle begin:
Thomas Dinges [Sat, 13 Aug 2011 13:45:03 +0000 (13:45 +0000)]
2.6 Release Cycle begin:
*BLENDER_VERSION_CYCLE set to alpha

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3
RC for B-Con 4
Release for B-Con 5

8 years agoindex_to_framebuffer (used for mesh selection) was being called 3x times per call...
Campbell Barton [Sat, 13 Aug 2011 09:22:14 +0000 (09:22 +0000)]
index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 12 Aug 2011 21:56:08 +0000 (21:56 +0000)]
Camera tracking integration
===========================

- Distortion/undistortion were accidentally swapped in both of grease
  pencil calibration and grid.

  This was fixed but distortion coefficients should be re-adjusted.

  There are some issues with high distortion coefficients but it
  came from libmv and until it'll be fixed there nothing really
  can be done here.

- Fixed displayed aspect ratio for muted footage when pixel/display
  aspect ratio is differ from 1.0 or proxy size is not Full Render,

- Added c-api for image distortion/undistortion, Not used yet.

8 years agoNodes: make node set active function usable outside of node editor, and in doing
Brecht Van Lommel [Fri, 12 Aug 2011 18:27:48 +0000 (18:27 +0000)]
Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.

8 years agoCode cleanup: fix wrong doxygen file name.
Brecht Van Lommel [Fri, 12 Aug 2011 18:24:17 +0000 (18:24 +0000)]
Code cleanup: fix wrong doxygen file name.

8 years agoCode cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.
Brecht Van Lommel [Fri, 12 Aug 2011 18:17:28 +0000 (18:17 +0000)]
Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.

8 years agoCode cleanup: remove seam drawing in face select mode, was left over from when
Brecht Van Lommel [Fri, 12 Aug 2011 18:13:55 +0000 (18:13 +0000)]
Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.

8 years agoModifiers: add callback to loop over each texture assigned to a modifier.
Brecht Van Lommel [Fri, 12 Aug 2011 18:11:22 +0000 (18:11 +0000)]
Modifiers: add callback to loop over each texture assigned to a modifier.

8 years agoCode cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
Brecht Van Lommel [Fri, 12 Aug 2011 18:06:05 +0000 (18:06 +0000)]
Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 12 Aug 2011 14:55:44 +0000 (14:55 +0000)]
Camera tracking integration
===========================

- Option to hide grease pencil (Display -> Grease Pencil).
- Added grease pencil controls to toolar.
- Fixed display issues when stroke contains one point only
  and Manual Calibration is enabled.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 12 Aug 2011 14:42:07 +0000 (14:42 +0000)]
Camera tracking integration
===========================

Continue improving grease pencil for manual calibration:

- Fixed bug with local undo which was caused by not dropping
  re-done nodes when pushing new undo node.
- Fixed bug with conversion grease pencil to bezier curve
  (last point could be dropped away on such conversion).
- Added new mode: poly line drawing.
  This mode allows to draw poly-line by clicking on
  it's knots. In this mode user is allowed to pan/zoom
  to new position before placing next knot.

8 years agoCamera tracking integration
Sergey Sharybin [Fri, 12 Aug 2011 14:41:31 +0000 (14:41 +0000)]
Camera tracking integration
===========================

import common classes from bpy.types

8 years agoMerging r39312 through r39329 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 12 Aug 2011 14:39:04 +0000 (14:39 +0000)]
Merging r39312 through r39329 from trunk into soc-2011-tomato

8 years agoimport common classes from bpy.types, saves ~1000 python getattrs on startup.
Campbell Barton [Fri, 12 Aug 2011 06:57:00 +0000 (06:57 +0000)]
import common classes from bpy.types, saves ~1000 python getattrs on startup.

8 years agoadd bpy.types as a module for convenient imports, eg:
Campbell Barton [Fri, 12 Aug 2011 06:31:39 +0000 (06:31 +0000)]
add bpy.types as a module for convenient imports, eg:
  from bpy.types import Menu

8 years agosequencer todo: change sequence added back (C key)
Campbell Barton [Fri, 12 Aug 2011 06:08:22 +0000 (06:08 +0000)]
sequencer todo: change sequence added back (C key)

split up into operators
- change effect input
- change effect type
- change file data

Change plugin is not ported back yet.

8 years agoadd WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this...
Campbell Barton [Fri, 12 Aug 2011 03:53:26 +0000 (03:53 +0000)]
add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own.

8 years agosoft limits for add object rotation value, without cont. grab it would get to very...
Campbell Barton [Fri, 12 Aug 2011 03:18:04 +0000 (03:18 +0000)]
soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag.

8 years agoun-inline GHash functions r26206, these are quite large functions to inline and incre...
Campbell Barton [Fri, 12 Aug 2011 02:23:06 +0000 (02:23 +0000)]
un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).

Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.

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

Return non-blocking behavior to grease pencil sketch mode.

It is needed to implement more accurate line drawing based
on using mouse click on where line "knot" should be added
and allowing pan/zoom between such knots selection.

There are still issues with vertex paint/sculpt modes,
but they aren't critical -- just behavior could be
improved here.

8 years agoMerging r39251 through r39311 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 11 Aug 2011 18:16:29 +0000 (18:16 +0000)]
Merging r39251 through r39311 from trunk into soc-2011-tomato

Splash screen is kept to be tomatoes.

8 years agouse correct libdir for buildbot win64.
Nathan Letwory [Thu, 11 Aug 2011 16:43:36 +0000 (16:43 +0000)]
use correct libdir for buildbot win64.

8 years agoCommiting patch from jensverwiebe for NDOF support on OSX v2.59
Sergey Sharybin [Thu, 11 Aug 2011 15:59:19 +0000 (15:59 +0000)]
Commiting patch from jensverwiebe for NDOF support on OSX

8 years agoFix for crash when using undo during sketching session.
Sergey Sharybin [Thu, 11 Aug 2011 13:40:47 +0000 (13:40 +0000)]
Fix for crash when using undo during sketching session.

Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.

The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.