Commit Graph

37214 Commits

Author SHA1 Message Date
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
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
Sergey Sharybin
c3e37cf15f Fix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
using fix suggested by Ryan King.
2012-03-21 14:13:54 +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
f127a0cd6f modify osx CMake hack so the CMake files can be parsed more easily by naive my error checker. 2012-03-21 12:15:02 +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
Joerg Mueller
112ef14422 Fix for [#30499] video sequencer crashes when moving around within a sequence. 2012-03-21 09:04:34 +00:00
Campbell Barton
6053e4f06c rename ngon tessellate function. 2012-03-21 08:35:50 +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
Campbell Barton
9773f87891 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.
2012-03-21 05:33:37 +00:00
Campbell Barton
1d5922fbaf minor changes to sphinx doc generator title formatting 2012-03-21 04:43:17 +00:00
Campbell Barton
de5cff8785 starting blender with -W option would cause other windows (like user preferences to be fullscreen too), now only override once. 2012-03-20 23:52:23 +00:00
Campbell Barton
e3d96cd27b patch [#30593] Minor 3D View Hint Changes
from Harley Acheson (harley)
2012-03-20 23:44:02 +00:00
Campbell Barton
5935ff3aaa fix for Quaternion.to_axis_angle() returning a zero axis vector. 2012-03-20 23:37:54 +00:00
Alexander Kuznetsov
c2531e47b6 Fix for compiling bplayer on cmake/win after adding utf support.
Reported by Miika
2012-03-20 23:10:46 +00:00
Campbell Barton
b482a0d4fc patch [#30602] Wiki Quick Hack: Apply Transformation To Lattices
from Justin Dailey (dail)
2012-03-20 23:09:28 +00:00
Campbell Barton
303cecf139 spelling cleanup: tesselate -> tessellate (last of these found) 2012-03-20 22:56:26 +00:00
Campbell Barton
6193c47c39 disable re-using 'number_cuts' setting on operators, problem was that you could subdiv a plane many times but then go to subdivide a high poly mesh and it would start with really high subdiv value (possibly running out of ram and crashing). 2012-03-20 22:27:08 +00:00
Campbell Barton
11500a3590 patch from Richard Shaw, exclude ffmpeg files when its disabled.
also fix for incorrect text in mesh specials menu - Select Inverse was called (De)Select All.
2012-03-20 22:00:21 +00:00
Campbell Barton
7dda8182ad fix to possible bug running python callbacks - bpy.app.handlers.* to support handlers removing themselves from the list. 2012-03-20 20:37:40 +00:00
Daniel Genrich
d74ab9d598 Smoke bugfix: Collision objects were completely broken in some cases since no tessfaces were generated. (Thanks to Campbell for giving me the solution) 2012-03-20 20:32:17 +00:00