9 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

9 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

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

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

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

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

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

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

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

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

9 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

9 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

9 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

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

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

9 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

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

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

9 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

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

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

9 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]

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

9 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

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

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

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

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

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

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

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

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

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

9 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

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

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

9 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

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

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

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

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

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

9 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

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

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

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

9 years ago2.6 Release Cycle begin:
Thomas Dinges [Sat, 13 Aug 2011 13:45:03 +0000 (13:45 +0000)]
2.6 Release Cycle begin:

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

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

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

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

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

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

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

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

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

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

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

9 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

9 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

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

9 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

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

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

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

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

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

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

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

9 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

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

9 years agoFix #28180: crash running"My Keymap").
Brecht Van Lommel [Thu, 11 Aug 2011 11:56:02 +0000 (11:56 +0000)]
Fix #28180: crash running"My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.

9 years agoAdding a readonly length_squared property to mathutils.Vector. This is simply vector...
Mitchell Stokes [Thu, 11 Aug 2011 09:40:14 +0000 (09:40 +0000)]
Adding a readonly length_squared property to mathutils.Vector. This is simply, so nothing new is really added, but it's nice for writing more intent revealing code. In other words:

if > some_distance*some_distance:

might not be quite as obvious looking as:

if vec.length_squared > some_distance*some_distance:

As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).

9 years agofix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and...
Campbell Barton [Thu, 11 Aug 2011 08:24:56 +0000 (08:24 +0000)]
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Aug 2011 06:40:04 +0000 (06:40 +0000)]
SVN maintenance.

9 years agouse ghash for operator and menu types, was doing string lookup in the operator list...
Campbell Barton [Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)]
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.

9 years agoifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its...
Campbell Barton [Thu, 11 Aug 2011 05:50:05 +0000 (05:50 +0000)]
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.

9 years agomerge outliner refactor so we dont have to keep outliner.c locked in trunk.
Campbell Barton [Thu, 11 Aug 2011 05:46:18 +0000 (05:46 +0000)]
merge outliner refactor so we dont have to keep outliner.c locked in trunk.

this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987

9 years agounlocking outliner.c and removing... (merging refactor from pepper but looks like...
Campbell Barton [Thu, 11 Aug 2011 05:43:20 +0000 (05:43 +0000)]
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 10 Aug 2011 21:14:12 +0000 (21:14 +0000)]
Camera tracking integration

Make calibration grid "outer" boundaries always be inside frame.

9 years agofix for regression for shape key UI, values are now editable again in the list, doubl...
Campbell Barton [Wed, 10 Aug 2011 20:12:27 +0000 (20:12 +0000)]
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 10 Aug 2011 18:44:05 +0000 (18:44 +0000)]
Camera tracking integration

Changes to manual calibraiton:

- Grease pencil is now getting distorted, so now workflow is
  changing to making straight GP line line match footage.

  I've tried to make GP lines not changing their start and
  end points from their "keyed" position.

  Should be tested because this could be done not in
  very accurate way.

- Fixed crash when adding new GP layer when there's no
  frames yet and manual calibration is enabled.

9 years agoerror in own recent commit. set subversion to 0
Campbell Barton [Wed, 10 Aug 2011 16:05:20 +0000 (16:05 +0000)]
error in own recent commit. set subversion to 0

9 years ago2.59 Splash screen by tomket7. Congratulations!
Thomas Dinges [Wed, 10 Aug 2011 16:03:45 +0000 (16:03 +0000)]
2.59 Splash screen by tomket7. Congratulations!

Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hjálmarsson.

9 years agoVersion bump for 2.59
Campbell Barton [Wed, 10 Aug 2011 16:02:02 +0000 (16:02 +0000)]
Version bump for 2.59

9 years agofix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled
Campbell Barton [Wed, 10 Aug 2011 15:53:46 +0000 (15:53 +0000)]
fix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 10 Aug 2011 13:59:03 +0000 (13:59 +0000)]
Camera tracking integration

- Fix for reading grease pencil data for movie clips.
- Request from Francois: undistort grease pencil to allow
  manual calibration.

Only strokes made in "Cursor" space are getting undistorted,
strokes made in view space are kept unchanged.

This allows to make such workflow of manual calibration:
- Outline straight line in footage with GP.
- [Optional] mute footage.
- Enable Display->Manual Calibration.
- Tweak distortion coefficients until you'll like result.
- [Optional] Use strokes made in viewspace to help checking
  of straightness of outlined features.

Not ideal but could be nice addition for grid-only calibration
until proper tools are getting ported to libmv/blender.

9 years agoMerging r39191 through r39250 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 10 Aug 2011 12:16:44 +0000 (12:16 +0000)]
Merging r39191 through r39250 from trunk into soc-2011-tomato

9 years agoCamera tracking integration
Sergey Sharybin [Wed, 10 Aug 2011 10:29:39 +0000 (10:29 +0000)]
Camera tracking integration

Fixed wrong jpeg files saved by proxy builder.

Additional changes:
  - Fixed some wrong copyrights in my own files.
  - Added copyrights headers to Peter's indexer files.

9 years agoFix for incorrect parameter amount.
Nathan Letwory [Wed, 10 Aug 2011 09:30:45 +0000 (09:30 +0000)]
Fix for incorrect parameter amount.

9 years agofix for error in template
Campbell Barton [Wed, 10 Aug 2011 09:16:35 +0000 (09:16 +0000)]
fix for error in  template

9 years agofix [#28203] Misplaced string in bone constraints
Campbell Barton [Wed, 10 Aug 2011 07:49:18 +0000 (07:49 +0000)]
fix [#28203] Misplaced string in bone constraints

9 years agoFix [#28195] Particles objects disappear in viewport, and 90° rotation
Nathan Letwory [Wed, 10 Aug 2011 07:36:57 +0000 (07:36 +0000)]
Fix [#28195] Particles objects disappear in viewport, and 90° rotation
Reported by Jean Francois Sarazin

Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.

9 years agofix for [#28201] blender crashes when "mpeg" selected
Campbell Barton [Wed, 10 Aug 2011 07:36:44 +0000 (07:36 +0000)]
fix for [#28201] blender crashes when "mpeg" selected

2 changes
- When writing OGG only allow Theora encoding, this fixes the crash.
- When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing.

* note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.

9 years agofix for crash undoing grease pencil session, last action would free entire frame...
Campbell Barton [Tue, 9 Aug 2011 21:32:46 +0000 (21:32 +0000)]
fix for crash undoing grease pencil session, last action would free entire frame which the session held a reference to.

9 years agofix [#28197] Undoing Grease pencil removes last 2 strokes
Campbell Barton [Tue, 9 Aug 2011 20:33:35 +0000 (20:33 +0000)]
fix [#28197] Undoing Grease pencil removes last 2 strokes

9 years agofix [#28196] Unwrap tris in lightmap pack
Campbell Barton [Tue, 9 Aug 2011 20:00:53 +0000 (20:00 +0000)]
fix [#28196] Unwrap tris in lightmap pack

9 years agostyle change, harmless changes while looking into bug [#28196]
Campbell Barton [Tue, 9 Aug 2011 19:59:01 +0000 (19:59 +0000)]
style change, harmless changes while looking into bug [#28196]

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 9 Aug 2011 19:58:14 +0000 (19:58 +0000)]
Camera tracking integration

Forgot to port draw sensor code to new sensor usa case.

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 9 Aug 2011 19:26:56 +0000 (19:26 +0000)]
Camera tracking integration

Fixing usage on incorrect pointer to get clip idblock when doing
rna update functions.

9 years agoCamera tracking integration
Sergey Sharybin [Tue, 9 Aug 2011 18:26:21 +0000 (18:26 +0000)]
Camera tracking integration

Fixing some problems caused by modifying imbuf from cache
when building proxy and preventing attempt to load image
duting saving it from cache builder.