7 years agostyle cleanup: python api
Campbell Barton [Mon, 26 Mar 2012 06:55:09 +0000 (06:55 +0000)]
style cleanup: python api

7 years agoMinor fixes to recent new UI messages.
Bastien Montagne [Mon, 26 Mar 2012 06:20:59 +0000 (06:20 +0000)]
Minor fixes to recent new UI messages.

7 years agofix [#30658] existing uv mesh coordinates not copied to new created uv map
Campbell Barton [Mon, 26 Mar 2012 05:28:00 +0000 (05:28 +0000)]
fix [#30658] existing uv mesh coordinates not copied to new created uv map

7 years agodisallow adding tessfaces to a mesh with polygons (only allowed case is creating...
Campbell Barton [Mon, 26 Mar 2012 04:32:04 +0000 (04:32 +0000)]
disallow adding tessfaces to a mesh with polygons (only allowed case is creating a new mesh with tessfaces and later converting to polygons, which wont work if polygons exist)

7 years agosetting the active texture layer from python would get the UV layer out of sync....
Campbell Barton [Mon, 26 Mar 2012 04:23:18 +0000 (04:23 +0000)]
setting the active texture layer from python would get the UV layer out of sync. (entering editmode would show the wrong UV layer)

7 years agostyle cleanup: editors/mesh - mostly whitespace around operators
Campbell Barton [Mon, 26 Mar 2012 02:56:48 +0000 (02:56 +0000)]
style cleanup: editors/mesh - mostly whitespace around operators

7 years agofix [#30657] New UV layers created with reset previous ones.
Campbell Barton [Mon, 26 Mar 2012 02:39:05 +0000 (02:39 +0000)]
fix [#30657] New UV layers created with reset previous ones.

adding UV's from python was resetting the active UV layer but not setting the new layer to active, resetting existing UV's.

7 years agorename lattice influence to strength from r45144 (other deform modifiers call it...
Campbell Barton [Mon, 26 Mar 2012 00:42:21 +0000 (00:42 +0000)]
rename lattice influence to strength from r45144 (other deform modifiers call it strength too)

7 years agofix [#30672] Mesh menu duplicity
Campbell Barton [Mon, 26 Mar 2012 00:12:53 +0000 (00:12 +0000)]
fix [#30672] Mesh menu duplicity

own fault - added this before desolve menu existed.

7 years agostyle cleanup: mostly whitespace around operators
Campbell Barton [Sun, 25 Mar 2012 23:54:33 +0000 (23:54 +0000)]
style cleanup: mostly whitespace around operators

7 years agoCode style cleaup for motion-tracking modules.
Sergey Sharybin [Sun, 25 Mar 2012 23:19:21 +0000 (23:19 +0000)]
Code style cleaup for motion-tracking modules.
Should be no functional changes.

7 years agostyle cleanup: dont use 'else for' for extended blocks of code (quite confusing)
Campbell Barton [Sun, 25 Mar 2012 23:12:42 +0000 (23:12 +0000)]
style cleanup: dont use 'else for' for extended blocks of code (quite confusing)

7 years agostyle cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers...
Campbell Barton [Sun, 25 Mar 2012 22:35:18 +0000 (22:35 +0000)]
style cleanup: add braces around checks - 'if ELEM() {...}', confuses some parsers that done expand macros.

7 years agoPatch: [#30652] Influence slider for Lattice Modifier
Thomas Dinges [Sun, 25 Mar 2012 22:14:21 +0000 (22:14 +0000)]
Patch: [#30652] Influence slider for Lattice Modifier

* This patch adds a influence slider for the lattice modifier, which affects the strength of the deformation.

Patch by Patrick Boelens (senshi), thanks a lot!

7 years agofix #30668 and the rest of #30638.
Antony Riakiotakis [Sun, 25 Mar 2012 21:18:44 +0000 (21:18 +0000)]
fix #30668 and the rest of #30638.

Port angle stretch code for uvs to bmesh.

Also added comment to clarify previous commit.

7 years agoComment out the projection to ngon normal plane when calculating ngon area. This...
Antony Riakiotakis [Sun, 25 Mar 2012 19:13:50 +0000 (19:13 +0000)]
Comment out the projection to ngon normal plane when calculating ngon area. This is hardly worth the cost since we use an approximation anyway.

7 years agoFix #30638 and part of #30646.
Antony Riakiotakis [Sun, 25 Mar 2012 19:02:28 +0000 (19:02 +0000)]
Fix #30638 and part of #30646.

Problem was that area calculation of polygons was done relative to the xy plane, and with a very obscure (to me at least) algorithm. That meant that vertical ngons would get 0 area.

Commented initial code in case this is a strange optimization case that someone wants to use and used a cleaner algorithm: first project vertices to the ngon plane, defined by the normal of the ngon and the center (mean) of the ngon vertices. This will only be exact for convex and mostly planar ngons, still it is much better than the previous code.

Also fixed memory leak when stretch display was on.

7 years agoFix bug #30673, "Crash: Bridge a pair of edges."
Nicholas Bishop [Sun, 25 Mar 2012 18:19:40 +0000 (18:19 +0000)]
Fix bug #30673, "Crash: Bridge a pair of edges."

Fix edge case for clamp_index() with any negative 'x' that is a
multiple of 'len', was returning 'len' which is invalid index.

Maybe the expression can be simplified back to a one-liner?

7 years agoCycles / CUDA:
Thomas Dinges [Sun, 25 Mar 2012 17:52:50 +0000 (17:52 +0000)]
Cycles / CUDA:
* Make Cycles aware of Computing Capability 3.0, used by the new Kepler Cards.
You'll need the CUDA 4.2 Toolkit to compile it.

7 years agostyle cleanup: issues missed last commit
Campbell Barton [Sun, 25 Mar 2012 15:56:17 +0000 (15:56 +0000)]
style cleanup: issues missed last commit

7 years agobmesh inset: another small improvement - use the shared edge vector rather then the...
Campbell Barton [Sun, 25 Mar 2012 14:44:48 +0000 (14:44 +0000)]
bmesh inset: another small improvement - use the shared edge vector rather then the cross product between 2 faces if the faces infact share an edge - works best for non planer faces.

also added utility function - BM_loop_other_vert_loop

7 years agoinset tool now works better when insetting around corners - the 2 faces normals are...
Campbell Barton [Sun, 25 Mar 2012 13:53:12 +0000 (13:53 +0000)]
inset tool now works better when insetting around corners - the 2 faces normals are now used to calculate the inset edge vector if the faces are different and not planer.

7 years agostyle cleanup: conform to style guide - mostly operator whitespace changes
Campbell Barton [Sun, 25 Mar 2012 12:41:58 +0000 (12:41 +0000)]
style cleanup: conform to style guide - mostly operator whitespace changes

7 years agostyle cleanup: operator/whitespace
Campbell Barton [Sat, 24 Mar 2012 11:27:52 +0000 (11:27 +0000)]
style cleanup: operator/whitespace

7 years agofix for error adding vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 11:02:28 +0000 (11:02 +0000)]
fix for error adding vertex colors in editmode.

also correct delete_customdata_layer having invalid 'tot' in editmode, seems harmless for now but better assign correct value.

7 years agofix for crash removing vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 10:41:42 +0000 (10:41 +0000)]
fix for crash removing vertex colors in editmode.

7 years agostyle cleanup: follow style guide for/with/if spacing
Campbell Barton [Sat, 24 Mar 2012 07:52:14 +0000 (07:52 +0000)]
style cleanup: follow style guide for/with/if spacing

7 years agostyle cleanup: pep8, indentation
Campbell Barton [Sat, 24 Mar 2012 07:36:32 +0000 (07:36 +0000)]
style cleanup: pep8, indentation

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 07:09:57 +0000 (07:09 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:38:07 +0000 (06:38 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:24:53 +0000 (06:24 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:18:31 +0000 (06:18 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agoconvert spaces to tabs and some formatting.
Campbell Barton [Sat, 24 Mar 2012 04:39:53 +0000 (04:39 +0000)]
convert spaces to tabs and some formatting.

7 years agoAdding back delete edge loop to delete menu
Daniel Salazar [Sat, 24 Mar 2012 04:16:44 +0000 (04:16 +0000)]
Adding back delete edge loop to delete menu

7 years agostyle cleanup: mainly for mesh code, also some WM function use.
Campbell Barton [Sat, 24 Mar 2012 02:51:46 +0000 (02:51 +0000)]
style cleanup: mainly for mesh code, also some WM function use.

7 years agoSVN maintenance.
Guillermo S. Romero [Sat, 24 Mar 2012 01:42:08 +0000 (01:42 +0000)]
SVN maintenance.

7 years agocode cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
Campbell Barton [Sat, 24 Mar 2012 01:24:58 +0000 (01:24 +0000)]
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).

7 years agocode cleanup: bmesh_ source files in our editor dir, they are the same as other...
Campbell Barton [Sat, 24 Mar 2012 00:20:36 +0000 (00:20 +0000)]
code cleanup: bmesh_  source files in our editor dir, they are the same as other editmesh_ files.

7 years agocode cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c
Campbell Barton [Fri, 23 Mar 2012 23:41:33 +0000 (23:41 +0000)]
code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c

remove bmesh_selecthistory.c, only wrapped a few functions.

7 years agofix for error with saving files after double clicking, the 'need_active' setting...
Campbell Barton [Fri, 23 Mar 2012 22:31:14 +0000 (22:31 +0000)]
fix for error with saving files after double clicking, the 'need_active' setting was getting saved which caused save to fail when not caused by double click afterwards.

7 years agocode cleanup: more consistent naming for mesh operator functions.
Campbell Barton [Fri, 23 Mar 2012 21:25:07 +0000 (21:25 +0000)]
code cleanup: more consistent naming for mesh operator functions.

7 years agoSequence Editor Themes:
Thomas Dinges [Fri, 23 Mar 2012 20:50:38 +0000 (20:50 +0000)]
Sequence Editor Themes:
* Preview Background is now themeable. Patch by Pablo Vazquez (venomgfx).

7 years agocode cleanup: use zero_v3
Campbell Barton [Fri, 23 Mar 2012 20:18:09 +0000 (20:18 +0000)]
code cleanup: use zero_v3

7 years agoBetter smoothing for sculpt cube falloff.
Nicholas Bishop [Fri, 23 Mar 2012 16:59:23 +0000 (16:59 +0000)]
Better smoothing for sculpt cube falloff.

The cube test, used by the clay strips brush, now smooths the corners
of the cube using the brush curve.

7 years ago3D View Themes:
Thomas Dinges [Fri, 23 Mar 2012 16:14:25 +0000 (16:14 +0000)]
3D View Themes:
* Camera and Empty colour is now themeable. Patch by Pablo Vazquez (venomgfx) with some minor edits.

7 years agoKnifetool: add help message in header line
Howard Trickey [Fri, 23 Mar 2012 14:52:00 +0000 (14:52 +0000)]
Knifetool: add help message in header line

7 years agoFixed a couple of typos in the Python API docs
Howard Trickey [Fri, 23 Mar 2012 14:29:59 +0000 (14:29 +0000)]
Fixed a couple of typos in the Python API docs

7 years agofix for cmake error on non osx systems
Campbell Barton [Fri, 23 Mar 2012 10:39:59 +0000 (10:39 +0000)]
fix for cmake error on non osx systems

7 years agobmesh editmode - split dissolve into its own menu. mesh delete code was getting quite...
Campbell Barton [Fri, 23 Mar 2012 10:30:42 +0000 (10:30 +0000)]
bmesh editmode - split dissolve into its own menu. mesh delete code was getting quite messy and mixed in too much different functionality just to add in same menu. Now use a pu menu for delete key which can call different ops.

7 years agoFix for jump to keyframe operator reusing property values incorrect
Sergey Sharybin [Fri, 23 Mar 2012 10:18:45 +0000 (10:18 +0000)]
Fix for jump to keyframe operator reusing property values incorrect

7 years agoFix for [#30438] x=zero not accepted for a bone tail.
Bastien Montagne [Fri, 23 Mar 2012 09:18:00 +0000 (09:18 +0000)]
Fix for [#30438] x=zero not accepted for a bone tail.

In fact, problem was in vec_roll_to_mat3(), which has to detect when the bone is aligned with its Y axis, using a threshold. This one have been raised to quite a high value due to bug [#23954], then lowered a bit due to [#27675] (which is imho in fine the same problem as 30438).

Reset it to its org value (very low 1e-13), as testing file given with firt bug did not show any problem anymore... So now, instead of 1/1000 of bone length from Y axis, we have about 3.25*10-7... Only (hardly) noticeable at max zoom level in 3D view.

7 years agofix for error with console command history not working, using previous settings.
Campbell Barton [Fri, 23 Mar 2012 07:08:28 +0000 (07:08 +0000)]
fix for error with console command history not working, using previous settings.

7 years agofix [#30632] Edge Split Modifier (creates invalid mesh)
Campbell Barton [Fri, 23 Mar 2012 05:43:56 +0000 (05:43 +0000)]
fix [#30632] Edge Split Modifier (creates invalid mesh)

bug was caused by modifying loops vert value in a BM_LOOPS_OF_VERT iterator.

7 years agominor speedup to vertex split function, avoid a hash lookup when its not needed.
Campbell Barton [Fri, 23 Mar 2012 05:18:03 +0000 (05:18 +0000)]
minor speedup to vertex split function, avoid a hash lookup when its not needed.

7 years agofile selector text field and file renaming were doing undo pushes.
Campbell Barton [Fri, 23 Mar 2012 03:21:59 +0000 (03:21 +0000)]
file selector text field and file renaming were doing undo pushes.

7 years agoedge split bmesh operator wasnt accessible (defined but not used), for some reason...
Campbell Barton [Fri, 23 Mar 2012 03:10:44 +0000 (03:10 +0000)]
edge split bmesh operator wasnt accessible (defined but not used), for some reason it had a 'numcuts' option.

add edge split to mesh edge menu.

7 years agodoc cleanup: minor corrections and improvements to docstrings + recent doc changes.
Campbell Barton [Fri, 23 Mar 2012 01:55:38 +0000 (01:55 +0000)]
doc cleanup: minor corrections and improvements to docstrings + recent doc changes.

7 years agomore face -> tessface edits
Campbell Barton [Fri, 23 Mar 2012 01:10:41 +0000 (01:10 +0000)]
more face -> tessface edits

7 years agolast commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading.
Campbell Barton [Fri, 23 Mar 2012 00:56:22 +0000 (00:56 +0000)]
last commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading.

7 years agorna/python api change: rename Mesh.faces --> tessfaces, since existing scripts are...
Campbell Barton [Fri, 23 Mar 2012 00:28:29 +0000 (00:28 +0000)]
rna/python api change: rename Mesh.faces --> tessfaces, since existing scripts are using this to modify the mesh and its confusing that the edits are not kept.

This also makes it clearer that the faces are for tessellated results only.

Added a section on the Gotcha's about upgrading scripts, the pros and cons of MeshTessFace/MeshPoly/BMFace.
and spesifically how to upgrade importers and exporters for 2.63+.

7 years agoFix for step-by-step tracking issue caused by operator presets changes
Sergey Sharybin [Thu, 22 Mar 2012 21:33:52 +0000 (21:33 +0000)]
Fix for step-by-step tracking issue caused by operator presets changes

7 years agopatch [#30620] Wiki Quick Hack: Make Tooltip Text Colour Themeable
Campbell Barton [Thu, 22 Mar 2012 20:24:11 +0000 (20:24 +0000)]
patch [#30620] Wiki Quick Hack: Make Tooltip Text Colour Themeable
from luke frisken (lfrisken), with some edits.

some tooltip colors weren't visible with different backgrounds, now the base tooltip color is used and tinted for python/alert/shortcuts etc. the tint colors are still hard coded.

7 years agopatch [#30636] Enable full screen mode with SDL2
Campbell Barton [Thu, 22 Mar 2012 18:47:52 +0000 (18:47 +0000)]
patch [#30636] Enable full screen mode with SDL2
from Wander Costa (walac)

7 years agoCorrection recent start/end range values for frames: it was impossible to set
Sergey Sharybin [Thu, 22 Mar 2012 17:27:37 +0000 (17:27 +0000)]
Correction recent start/end range values for frames: it was impossible to set
start frame = end frame which is useful in some cases.

Also made behavior of S/E operators equal to sliders in timeline.

7 years agoFix for #30627. This improves the behaviour of the internal_reconnect function for...
Lukas Toenne [Thu, 22 Mar 2012 16:07:41 +0000 (16:07 +0000)]
Fix for #30627. This improves the behaviour of the internal_reconnect function for dissolving, detaching and muting nodes a bit. Instead of only linking a single, perfectly matching socket pair it now connects all outputs of a type to the first input of the same. Also if no such connections can be made it simply links the first connected input to the first connected output. This is the previous behaviour of the delete_reconnect operator (ctrl+x).

7 years agoFix for Add Movie Strip and Add Sound Strip operators and operator property re-use...
Sergey Sharybin [Thu, 22 Mar 2012 14:33:51 +0000 (14:33 +0000)]
Fix for Add Movie Strip and Add Sound Strip operators and operator property re-use system.

7 years agopatch [#30635] Fix SDL2 version check by Wander Costa (walac)
Dalai Felinto [Thu, 22 Mar 2012 14:06:42 +0000 (14:06 +0000)]
patch [#30635] Fix SDL2 version check by Wander Costa (walac)

7 years ago#collada skeleton animation import, fixes #29246
Arystanbek Dyussenov [Thu, 22 Mar 2012 13:35:52 +0000 (13:35 +0000)]
#collada skeleton animation import, fixes #29246

Apply part of the patch #30070 by Juha Mäki-Kanto, that takes into account the transform of non-joint type parent in bone animation computation. Thanks!

7 years agoFix [#30614] (some Display settings are uneeded for non-geometry/material object...
Bastien Montagne [Thu, 22 Mar 2012 13:27:24 +0000 (13:27 +0000)]
Fix [#30614] (some Display settings are uneeded for non-geometry/material object types, and armature have no boundbox).

This commit:
* Removes the Wire and Color options from the UI for all object types but meshes, curves/surfaces/texts, and metas.
* Adds a basic bounding box drawing (and computing) for armatures.

7 years agoFix #30491: Not Updating Scene Length
Sergey Sharybin [Thu, 22 Mar 2012 13:22:28 +0000 (13:22 +0000)]
Fix #30491: Not Updating Scene Length
(also fixes special request from Ian for Mango)

Added operator to update actual content length of all selected strips.
Can be useful for scenes and movies as well after doing making changes to

Can be improved further to deal better with cases when strip has got effect
and it's get reshuffled because of overlapping after changing it's length.

7 years agoQuick Mango request: Adjustable contrast/intensity for unselected F-Curves in
Joshua Leung [Thu, 22 Mar 2012 12:19:31 +0000 (12:19 +0000)]
Quick Mango request: Adjustable contrast/intensity for unselected F-Curves in
Graph Editor

Under User Preferences -> Editing, there's a new setting "F-Curve Visibility"
which controls the how much F-Curves blend in with the background colour.
Increasing this value makes F-Curves stand out more, at the expense of making it
less obvious which F-Curve is active.

7 years agobmesh py api:
Campbell Barton [Thu, 22 Mar 2012 09:29:18 +0000 (09:29 +0000)]
bmesh py api:
  added BMFace.material_index

7 years agoFix #30575: Text gets wrongly clipped when using accented letters
Sergey Sharybin [Thu, 22 Mar 2012 09:20:22 +0000 (09:20 +0000)]
Fix #30575: Text gets wrongly clipped when using accented letters

Clipping functions used for drawing weren't using stepping and always were assuming
letters are single byte encoded. Now they're using correct stepping.

7 years agoRenaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as this...
Bastien Montagne [Thu, 22 Mar 2012 08:41:50 +0000 (08:41 +0000)]
Renaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as this layer is now also used for various preview tasks in Object mode.

“Cleanup” commit, no functional changes.

7 years agocode cleanup: remove BMesh * args from query functions which don't need it
Campbell Barton [Thu, 22 Mar 2012 07:53:11 +0000 (07:53 +0000)]
code cleanup: remove BMesh * args from query functions which don't need it

7 years agostyle cleanup: spaces aroudn operators for operator definitions.
Campbell Barton [Thu, 22 Mar 2012 07:26:09 +0000 (07:26 +0000)]
style cleanup: spaces aroudn operators for operator definitions.

7 years agobmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_val...
Campbell Barton [Thu, 22 Mar 2012 05:13:43 +0000 (05:13 +0000)]
bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate()

7 years agofix for python called operators getting/setting the operator last used state, also...
Campbell Barton [Thu, 22 Mar 2012 02:00:14 +0000 (02:00 +0000)]
fix for python called operators getting/setting the operator last used state, also set to false when accessed from blenders UI

7 years agostyle cleanup: enforce macros using a semicolon.
Campbell Barton [Thu, 22 Mar 2012 01:35:13 +0000 (01:35 +0000)]
style cleanup: enforce macros using a semicolon.

7 years agofix [#30623] user-defined render presets bug
Campbell Barton [Wed, 21 Mar 2012 22:29:49 +0000 (22:29 +0000)]
fix [#30623] user-defined render presets bug

this report exposed multiple bugs in blender when using a non utf8 compatible home directory.

- bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug)
- PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8.
- preset filepath property was not set to accept non utf8.
- bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)

7 years agoFix #30504 selecting self-intersecting face loop won't work correctly.
Antony Riakiotakis [Wed, 21 Mar 2012 21:40:42 +0000 (21:40 +0000)]
Fix #30504 selecting self-intersecting face loop won't work correctly.

Added generic secondary hash to walker. In faceloop select it is used to remember if edge has been previously visited, in addition to the hash used for faces. This solves the case where walker stops if it finds an already added face.

7 years agofix issue with own recent commit - was accessing freed 'wm' on loading files.
Campbell Barton [Wed, 21 Mar 2012 21:01:58 +0000 (21:01 +0000)]
fix issue with own recent commit - was accessing freed 'wm' on loading files.

7 years ago== Sequencer ==
Peter Schlaile [Wed, 21 Mar 2012 18:02:29 +0000 (18:02 +0000)]
== Sequencer ==

This adds movieclip input support to the sequencer, thereby making
undistorted and stabilized footage available without a seperate render step.

Also: removes some old cruft code from the sequencer:

* new_tstripdata wasn't used anymore
* StripElems were allocated for SCENE strips on full length, wasting memory
  Added a comment, that hopefully makes things a little bit clearer:
  StripElems are *only* usefull for MOVIE + IMAGE strips for all other strip
  types one can set this pointer to NULL. (If that should cause otherwise
  problems, then the code that doesn't check for NULL is to blame!)

7 years agoFix for crash on selecting loop in cases when some edges aren't connected to any...
Sergey Sharybin [Wed, 21 Mar 2012 17:34:31 +0000 (17:34 +0000)]
Fix for crash on selecting loop in cases when some edges aren't connected to any faces.

7 years agoUse linear interpolation for intersecting tracks when joining them together.
Sergey Sharybin [Wed, 21 Mar 2012 17:21:27 +0000 (17:21 +0000)]
Use linear interpolation for intersecting tracks when joining them together.

7 years agoTracking objects were creating with zero scale.
Sergey Sharybin [Wed, 21 Mar 2012 16:45:27 +0000 (16:45 +0000)]
Tracking objects were creating with zero scale.

7 years agoQuick fix to broken text editor/console from r45051.
Bastien Montagne [Wed, 21 Mar 2012 15:51:15 +0000 (15:51 +0000)]
Quick fix to broken text editor/console from r45051.

Note: not completely sure this is the way to go, but at least it works (and is easy to revert in case there is better solution ;) ).

7 years agoFix #30616: Inconsistency Del and Backspace of resetting values
Sergey Sharybin [Wed, 21 Mar 2012 14:19:45 +0000 (14:19 +0000)]
Fix #30616: Inconsistency Del and Backspace of resetting values

Color circle, waveform and histogram were still using Del key for resetting value.
Changed to backspace.

7 years agoFix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
Sergey Sharybin [Wed, 21 Mar 2012 14:13:54 +0000 (14:13 +0000)]
Fix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
using fix suggested by Ryan King.

7 years agoFix blenderplayer utf8 cmake for MinGW (linking order matters for gcc)
Antony Riakiotakis [Wed, 21 Mar 2012 12:35:39 +0000 (12:35 +0000)]
Fix blenderplayer utf8 cmake for MinGW (linking order matters for gcc)

7 years agomodify osx CMake hack so the CMake files can be parsed more easily by naive my error...
Campbell Barton [Wed, 21 Mar 2012 12:15:02 +0000 (12:15 +0000)]
modify osx CMake hack so the CMake files can be parsed more easily by naive my error checker.

7 years agomove some bmesh headers into intern/ since they are not used externally.
Campbell Barton [Wed, 21 Mar 2012 12:08:16 +0000 (12:08 +0000)]
move some bmesh headers into intern/ since they are not used externally.

7 years agofix [#30613] B-mesh - inset created invalid mesh
Campbell Barton [Wed, 21 Mar 2012 11:31:40 +0000 (11:31 +0000)]
fix [#30613] B-mesh - inset created invalid mesh

inset could make a quad that used the same vertex multiple times.

7 years agopartial fix for bug [#30613], inset creating invalid meshes, however its still possib...
Campbell Barton [Wed, 21 Mar 2012 09:39:45 +0000 (09:39 +0000)]
partial fix for bug [#30613], inset creating invalid meshes, however its still possible to cause a crash with a different selection, will fix next.

7 years agostyle cleanup: bmesh
Campbell Barton [Wed, 21 Mar 2012 09:10:08 +0000 (09:10 +0000)]
style cleanup: bmesh

7 years agoFix for [#30499] video sequencer crashes when moving around within a sequence.
Joerg Mueller [Wed, 21 Mar 2012 09:04:34 +0000 (09:04 +0000)]
Fix for [#30499] video sequencer crashes when moving around within a sequence.

7 years agorename ngon tessellate function.
Campbell Barton [Wed, 21 Mar 2012 08:35:50 +0000 (08:35 +0000)]
rename ngon tessellate function.

7 years agofix [#30617] regression: select similar no threshold
Campbell Barton [Wed, 21 Mar 2012 07:49:05 +0000 (07:49 +0000)]
fix [#30617] regression: select similar no threshold

7 years agowm/operator code:
Campbell Barton [Wed, 21 Mar 2012 06:33:31 +0000 (06:33 +0000)]
wm/operator code:
Change operator previous settings initialization not to use the redo stack since this gets cleared and it means only redo operators can re-use last settings.

now this works for import/export as well.

7 years agobmesh docs:
Campbell Barton [Wed, 21 Mar 2012 05:33:37 +0000 (05:33 +0000)]
bmesh docs:
- add examples for custom-data access
- group BMesh types logically in docs
- added missing docstrings

needed to add grouping functionality to sphinx for this.