Commit Graph

37245 Commits

Author SHA1 Message Date
Campbell Barton 5a90ea77bc style cleanup: follow style guide for formatting of if/for/while loops, and else if's 2012-03-24 06:24:53 +00:00
Campbell Barton 69e6894b15 style cleanup: follow style guide for formatting of if/for/while loops, and else if's 2012-03-24 06:18:31 +00:00
Campbell Barton 7b99ae0ad3 convert spaces to tabs and some formatting. 2012-03-24 04:39:53 +00:00
Daniel Salazar 99b95926bb Adding back delete edge loop to delete menu 2012-03-24 04:16:44 +00:00
Campbell Barton 2f348d8b5d style cleanup: mainly for mesh code, also some WM function use. 2012-03-24 02:51:46 +00:00
Guillermo S. Romero d6fd5266d0 SVN maintenance. 2012-03-24 01:42:08 +00:00
Campbell Barton 3c11379e26 code cleanup: move bmesh inline funcs to headers (avoids compiling the C files). 2012-03-24 01:24:58 +00:00
Campbell Barton 0c898514f0 code cleanup: bmesh_ source files in our editor dir, they are the same as other editmesh_ files. 2012-03-24 00:20:36 +00:00
Campbell Barton 888cc0d7ac code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c
remove bmesh_selecthistory.c, only wrapped a few functions.
2012-03-23 23:41:33 +00:00
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
Howard Trickey ef1d3a3993 Fixed a couple of typos in the Python API docs 2012-03-23 14:29:59 +00:00
Campbell Barton 87681b46ea fix for cmake error on non osx systems 2012-03-23 10:39:59 +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 03df918c2f more face -> tessface edits 2012-03-23 01:10:41 +00:00
Campbell Barton 385c11d92c last commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading. 2012-03-23 00:56:22 +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
Campbell Barton d89c5077f3 patch [#30636] Enable full screen mode with SDL2
from Wander Costa (walac)
2012-03-22 18:47:52 +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
Dalai Felinto a00594837a patch [#30635] Fix SDL2 version check by Wander Costa (walac) 2012-03-22 14:06:42 +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