8 years agoRequest from Mango team which will most probably expected by everyone:
Sergey Sharybin [Mon, 26 Mar 2012 13:48:45 +0000 (13:48 +0000)]
Request from Mango team which will most probably expected by everyone:

Refresh Sequencer button will now update lengths of strips as well.

8 years agoFix for own error in sequencer's Select menu (from r40658, makes me wonder if anyone...
Bastien Montagne [Mon, 26 Mar 2012 13:45:06 +0000 (13:45 +0000)]
Fix for own error in sequencer's Select menu (from r40658, makes me wonder if anyone uses that feature except me...), and update to Select Grouped op (taking into account new MovieClip strip type).

8 years ago- MovieClip strips now have got valid color for older saved files
Sergey Sharybin [Mon, 26 Mar 2012 13:36:22 +0000 (13:36 +0000)]
- MovieClip strips now have got valid color for older saved files
- Update Strip Length will now properly update lenght of movie clip
  strips created from movies before lenght was added there.

8 years agoFix for crash when adding image sequence movie clip into a sequencer
Sergey Sharybin [Mon, 26 Mar 2012 13:30:53 +0000 (13:30 +0000)]
Fix for crash when adding image sequence movie clip into a sequencer

8 years agoCycles: fix for ColorRamp node alpha output.
Brecht Van Lommel [Mon, 26 Mar 2012 13:21:43 +0000 (13:21 +0000)]
Cycles: fix for ColorRamp node alpha output.

8 years agoFix #30676: UV unwrap did not create UV map with proper default coordinates.
Brecht Van Lommel [Mon, 26 Mar 2012 13:21:13 +0000 (13:21 +0000)]
Fix #30676: UV unwrap did not create UV map with proper default coordinates.

8 years agoFix blenderplayer build, adding stub.
Brecht Van Lommel [Mon, 26 Mar 2012 12:45:28 +0000 (12:45 +0000)]
Fix blenderplayer build, adding stub.

8 years agoCycles: add ColorRamp node.
Brecht Van Lommel [Mon, 26 Mar 2012 12:45:14 +0000 (12:45 +0000)]
Cycles: add ColorRamp node.

8 years agoFix [#30684] Bmesh AddTorus.execute failure.
Bastien Montagne [Mon, 26 Mar 2012 12:43:48 +0000 (12:43 +0000)]
Fix [#30684] Bmesh AddTorus.execute failure.

Done BMESH_TODO (use polys/loops instead of tessfaces).

8 years agoFix #30647: Error in wire drawing of subsurf
Sergey Sharybin [Mon, 26 Mar 2012 12:20:46 +0000 (12:20 +0000)]
Fix #30647: Error in wire drawing of subsurf

Patch by Nicholas Bishop, thanks!

8 years agofix [#30257] bmesh: Rip "V" don't work on end vertex
Campbell Barton [Mon, 26 Mar 2012 12:02:41 +0000 (12:02 +0000)]
fix [#30257] bmesh: Rip "V" don't work on end vertex

added option to edgesplit bmesh operator to take tagged vertices as well so an edge at a boundary can split without splitting off the boundary vertex.

the behavior/speed of the edge split modifier and tool remainss the same, this is only used for rip.

8 years agoFix #30430: Can only alt+scroll image buffer slot once
Sergey Sharybin [Mon, 26 Mar 2012 11:44:03 +0000 (11:44 +0000)]
Fix #30430: Can only alt+scroll image buffer slot once

Issue was caused by mapping old buttons to new buttons. Render slot button in header
holds RenerResult for particular slot, but in N-panel it holds RenderResult from RenderEngine.
So what was happening is: switching render slot to empty slot makes slot button in header
contain NULL as button function's argument, but old button holds RenderResult for rendered
image, so this two buttons aren't equal and so button isn't getting activated and no scrolling
Making slot button hold RenderResult directly from RenderEngine (as it's happening with
buttons in N-panel) makes old->new buttons mapping work correct and it's possible
to alt-scroll smoothly

8 years agoFix #30671: Reset to default values bug
Sergey Sharybin [Mon, 26 Mar 2012 10:33:37 +0000 (10:33 +0000)]
Fix #30671: Reset to default values bug

8 years agofix [#30598] Bad 3D view display & render with smooth mesh
Campbell Barton [Mon, 26 Mar 2012 09:38:38 +0000 (09:38 +0000)]
fix [#30598] Bad 3D view display & render with smooth mesh

Sergey's suggestion - just call calc normals fixes.

8 years agoFix for object solver possible pointing to a freed memory when removing
Sergey Sharybin [Mon, 26 Mar 2012 09:36:19 +0000 (09:36 +0000)]
Fix for object solver possible pointing to a freed memory when removing
movie clip data block from python/

8 years agostyle cleanup: use NULL rather than 0 for raytrace code.
Campbell Barton [Mon, 26 Mar 2012 08:58:17 +0000 (08:58 +0000)]
style cleanup: use NULL rather than 0 for raytrace code.

8 years agofix [#30653] Wrong image at UV/Image Editor window
Campbell Barton [Mon, 26 Mar 2012 08:10:12 +0000 (08:10 +0000)]
fix [#30653] Wrong image at UV/Image Editor window

render results would be displayed on loading new files if the scene names matches, now free render-results so as not to display stale data - also saves some memory.

8 years agofix for possible crash - freed scene was being used for render result lookup when...
Campbell Barton [Mon, 26 Mar 2012 08:06:13 +0000 (08:06 +0000)]
fix for possible crash - freed scene was being used for render result lookup when 'Load UI' was disabled.

8 years agoSetup tracking scene works again now
Sergey Sharybin [Mon, 26 Mar 2012 07:51:47 +0000 (07:51 +0000)]
Setup tracking scene works again now

8 years agofix for possible crash using freed ObCenter pointer when loaing a blend file without...
Campbell Barton [Mon, 26 Mar 2012 07:28:31 +0000 (07:28 +0000)]
fix for possible crash using freed ObCenter pointer when loaing a blend file without loading the UI.

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

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

8 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

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

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

8 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

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

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

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

8 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

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

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

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

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

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

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

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

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

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

8 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

8 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

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

8 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

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

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

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

8 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

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

8 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

8 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

8 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

8 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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

8 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

8 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

8 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

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

8 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

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

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

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

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

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

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

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

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

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

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

8 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

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

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

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

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

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

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

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

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

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

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

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

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

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

8 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

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

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

8 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

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

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