Commit Graph

30772 Commits

Author SHA1 Message Date
Campbell Barton
5d68b3204d 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. 2012-03-23 22:31:14 +00:00
Campbell Barton
88d0918fe2 code cleanup: more consistent naming for mesh operator functions. 2012-03-23 21:25:07 +00:00
Thomas Dinges
ac69593b7f Sequence Editor Themes:
* Preview Background is now themeable. Patch by Pablo Vazquez (venomgfx).
2012-03-23 20:50:38 +00:00
Campbell Barton
7ff77ed4ea code cleanup: use zero_v3 2012-03-23 20:18:09 +00:00
Nicholas Bishop
402a9d5938 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.
2012-03-23 16:59:23 +00:00
Thomas Dinges
b331c867e1 3D View Themes:
* Camera and Empty colour is now themeable. Patch by Pablo Vazquez (venomgfx) with some minor edits.
2012-03-23 16:14:25 +00:00
Howard Trickey
3103531716 Knifetool: add help message in header line 2012-03-23 14:52:00 +00:00
Campbell Barton
d3f8952269 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. 2012-03-23 10:30:42 +00:00
Sergey Sharybin
49ad20f55a Fix for jump to keyframe operator reusing property values incorrect 2012-03-23 10:18:45 +00:00
Bastien Montagne
caebbb264c 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.
2012-03-23 09:18:00 +00:00
Campbell Barton
eab6c9498a fix for error with console command history not working, using previous settings. 2012-03-23 07:08:28 +00:00
Campbell Barton
2363ce3ff3 fix [#30632] Edge Split Modifier (creates invalid mesh)
bug was caused by modifying loops vert value in a BM_LOOPS_OF_VERT iterator.
2012-03-23 05:43:56 +00:00
Campbell Barton
24119cb79b minor speedup to vertex split function, avoid a hash lookup when its not needed. 2012-03-23 05:18:03 +00:00
Campbell Barton
da15fbf7b4 file selector text field and file renaming were doing undo pushes. 2012-03-23 03:21:59 +00:00
Campbell Barton
4b52ad6a35 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.
2012-03-23 03:10:44 +00:00
Campbell Barton
174a46361f doc cleanup: minor corrections and improvements to docstrings + recent doc changes. 2012-03-23 01:55:38 +00:00
Campbell Barton
8e2efc1dbf 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+.
2012-03-23 00:28:29 +00:00
Sergey Sharybin
f02bfe0db6 Fix for step-by-step tracking issue caused by operator presets changes 2012-03-22 21:33:52 +00:00
Campbell Barton
c0e702694f 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.
2012-03-22 20:24:11 +00:00
Sergey Sharybin
665f784b06 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.
2012-03-22 17:27:37 +00:00
Lukas Toenne
a4ffb69e3a 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). 2012-03-22 16:07:41 +00:00
Sergey Sharybin
3b7b0b9beb Fix for Add Movie Strip and Add Sound Strip operators and operator property re-use system. 2012-03-22 14:33:51 +00:00
Arystanbek Dyussenov
7ba12321ec #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!
2012-03-22 13:35:52 +00:00
Bastien Montagne
bdebaf0fb4 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.
2012-03-22 13:27:24 +00:00
Sergey Sharybin
44eb9cc272 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
scene/movie.

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.
2012-03-22 13:22:28 +00:00
Joshua Leung
5cf739c2da 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.
2012-03-22 12:19:31 +00:00
Campbell Barton
db37011930 bmesh py api:
added BMFace.material_index
2012-03-22 09:29:18 +00:00
Sergey Sharybin
762a8baf05 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.
2012-03-22 09:20:22 +00:00
Bastien Montagne
9751653410 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.
2012-03-22 08:41:50 +00:00
Campbell Barton
7044d80639 code cleanup: remove BMesh * args from query functions which don't need it 2012-03-22 07:53:11 +00:00
Campbell Barton
4c3bb77012 style cleanup: spaces aroudn operators for operator definitions. 2012-03-22 07:26:09 +00:00
Campbell Barton
675628d24d bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate() 2012-03-22 05:13:43 +00:00
Campbell Barton
23c8298ca0 fix for python called operators getting/setting the operator last used state, also set object.vertex_group_assign.new to false when accessed from blenders UI 2012-03-22 02:00:14 +00:00
Campbell Barton
b6c2f9ddab style cleanup: enforce macros using a semicolon. 2012-03-22 01:35:13 +00:00
Campbell Barton
b56d2f9766 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)
2012-03-21 22:29:49 +00:00
Antony Riakiotakis
95f66f162c 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.
2012-03-21 21:40:42 +00:00
Campbell Barton
ff7088088f fix issue with own recent commit - was accessing freed 'wm' on loading files. 2012-03-21 21:01:58 +00:00
Peter Schlaile
d8623da305 == 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!)
2012-03-21 18:02:29 +00:00
Sergey Sharybin
ee1dc84239 Fix for crash on selecting loop in cases when some edges aren't connected to any faces. 2012-03-21 17:34:31 +00:00
Sergey Sharybin
af46a2902f Use linear interpolation for intersecting tracks when joining them together. 2012-03-21 17:21:27 +00:00
Sergey Sharybin
e82cd12560 Tracking objects were creating with zero scale. 2012-03-21 16:45:27 +00:00
Bastien Montagne
d5600a43f6 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 ;) ).
2012-03-21 15:51:15 +00:00
Sergey Sharybin
fde62b2d90 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.
2012-03-21 14:19:45 +00:00
Antony Riakiotakis
b06f238bb0 Fix blenderplayer utf8 cmake for MinGW (linking order matters for gcc) 2012-03-21 12:35:39 +00:00
Campbell Barton
b15255e820 move some bmesh headers into intern/ since they are not used externally. 2012-03-21 12:08:16 +00:00
Campbell Barton
7a43cd7909 fix [#30613] B-mesh - inset created invalid mesh
inset could make a quad that used the same vertex multiple times.
2012-03-21 11:31:40 +00:00
Campbell Barton
08b7e6ac14 partial fix for bug [#30613], inset creating invalid meshes, however its still possible to cause a crash with a different selection, will fix next. 2012-03-21 09:39:45 +00:00
Campbell Barton
d76c05cd36 style cleanup: bmesh 2012-03-21 09:10:08 +00:00
Campbell Barton
e11c67e1dc fix [#30617] regression: select similar no threshold 2012-03-21 07:49:05 +00:00
Campbell Barton
bec263e2a3 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.
2012-03-21 06:33:31 +00:00