Commit Graph

31083 Commits

Author SHA1 Message Date
Brecht Van Lommel
e5579ac505 Fix #30895: uv editor snap selected to adjacent unselected not working correctly,
was apply to unselected uvs too.
2012-04-11 08:37:38 +00:00
Brecht Van Lommel
fe7f354daa Fix #30900: when opengl offscreen render failed, the wait cursor would incorrectly
stay visible. Patch by Justin Dailey.
2012-04-11 08:27:07 +00:00
Campbell Barton
b4a0152e76 code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.) 2012-04-11 08:15:13 +00:00
Campbell Barton
9ae0523921 fix [#30897] UVEditor: Snap Cursor to Selected
was writing the 3rd component of a 2D vector.
2012-04-11 07:47:09 +00:00
Sergey Sharybin
ff6867a768 Fix #30904: MovieClip.objects.new() segfault when no name is passed
Made name property required for new().
2012-04-11 07:35:04 +00:00
Sergey Sharybin
84232f8d5a Fix #30664: Texturepaint color does not match texture color (3D View vs UV/Image Editor)
Another regression since bmesh merge which was caused getting CD_MTFACE from
polys datablock instead of face datablock.
2012-04-10 19:27:02 +00:00
Daniel Genrich
dde8c10432 Smoke: Fix for some non animated properties 2012-04-10 17:45:25 +00:00
Brecht Van Lommel
63e2763842 Fix #30698: python console nodetree paths were not accurate, now show ... like
in some other cases to at least show these are not accurate.
2012-04-10 16:37:05 +00:00
Sergey Sharybin
a08fdf1f2a Fix #30874: Single texture display in Edit Mode
It was a regression since 2.62 caused by how texface is passing to drawParamsMapped
Previously it was used from CD layer but now it's getting copied from MexPoly
into a variable allocated in stack for function void emDM_drawFacesTex_common.

To set texture needed to draw particular face function set_draw_settings_cached
is used, which tries to not to copy texture into GPU when it's not needed (for
example, when drawing bunch of faces with the same texture) and one of condition
if texture should be updated in GPU was comparing address of texface passed to
this function and cached texface. But this address are exactly the sane and
points to a memory inside stack of emDM_drawFacesTex_common.

Fixed by cacheing texface content, not it's address.
2012-04-10 16:28:26 +00:00
Brecht Van Lommel
93e00af7e5 Fix #30850: bevel tool only works on edges but tooltip indicated it worked on
vertices too, fixed tooltip. Also add bevel to edge menu since it works edge
based.
2012-04-10 15:51:22 +00:00
Brecht Van Lommel
4f06c15202 Fix properties editor, right click menu "Copy to Selected" not working for
object modifier/constraint/physics properties. Now uses RNA path rather than
only properties on the object itself.
2012-04-10 15:49:41 +00:00
Brecht Van Lommel
530f199124 Code cleanup: remove a bunch of unused code from this file. 2012-04-10 15:47:34 +00:00
Brecht Van Lommel
4b022ad360 Fix #30754: motion blur shutter was animateable while this is actually not
supported.
2012-04-10 15:43:42 +00:00
Sergey Sharybin
4795f4b9ac mango request: option to draw background in front of all objects in the viewport.
Should be really handy for painting clean plates.
2012-04-10 14:59:06 +00:00
Brecht Van Lommel
0906ac9914 Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.
2012-04-10 14:58:21 +00:00
Brecht Van Lommel
5eca59cf0d Fix #30882: using an image sequence in the displace modifier did not update
properly in animation rendering.
2012-04-10 14:11:45 +00:00
Brecht Van Lommel
8adc276885 Fix #30879: uv editor hide did not work with the mesh in vertex/edge select
mode, selection was not flushed down to faces.
2012-04-10 13:19:16 +00:00
Campbell Barton
5061f2eb62 fix [#30839] Blender crashes while open/close a scene and deletes .blend-file 2012-04-10 13:10:44 +00:00
Campbell Barton
1b74ec9564 fix for too small MATHUTILS_TOT_CB when the game engine runs. 2012-04-10 12:35:15 +00:00
Joseph Eagar
f8cef0b6a0 Fix related to #30859: bmesh face splitting would set the first loop of the new
faces to a loop quite different than the original first loop. This makes e.g.
duplifaces give rotated results after subdivide or loopcut.

Now it tries to find a first loop that is similar to the old one, to try to keep
the rotations the same.
2012-04-10 11:07:02 +00:00
Sergey Sharybin
e5e5a702bc Fix #30843: Blender Game in Metric Mode allows only a 10m Radius for Collision Bounds.
Now use soft limit of 0.01 .. 10.0 for radius but hard limit is 0.01 .. FLT_MAX
2012-04-10 10:35:55 +00:00
Campbell Barton
9fd6c7a962 update preview.blend so it doesn't need to convert from mfaces to mpolys every load. 2012-04-10 09:22:39 +00:00
Campbell Barton
e03ebf7a41 code cleanup: replace (val >> 16) with macro RNA_SUBTYPE_UNIT_VALUE(val) 2012-04-10 09:03:45 +00:00
Campbell Barton
c4ce26c906 Address [#30842] Blenders Measurement Units set to Metric, makes some Precision Flaws.
use the same precision for location all over (2-5 was used), use define as 5.

also disallow boolean to have any subtype besides PROP_LAYER_MEMBER, some booleans had TRANSLATION / XYZ subtypes which don't make sense.
2012-04-10 08:33:30 +00:00
Campbell Barton
1f3e453509 fix [#30848] Edge Selection fails when the following Conditions met:
summery: when both verts are outside the viewport

this is in fact a very old annoyance but good to resolve.
fix by doing segment/rectangle intersection between the edge and the viewport so it works when the both verts are outside the view.
2012-04-10 07:30:08 +00:00
Campbell Barton
3c6239f8be fix for unit system incorrectly replacint 'um' (unicode 'u'). with meters.
result was editing number buttons with um would give a python error.
2012-04-10 02:51:24 +00:00
Campbell Barton
7f8aaaf100 expose double limit used by auto-merge, addresses bug [#30884] 2012-04-10 01:45:22 +00:00
Campbell Barton
cb6ab1df5e uv editor: don't draw active face stipple when the face isn't visible (error from bmesh merge), also replace 'em->bm' with 'bm' var while drawing. 2012-04-10 00:22:26 +00:00
Campbell Barton
95654de53d fix [#30880] Selected to Adjacent Unselected broken 2012-04-10 00:09:54 +00:00
Bastien Montagne
66ae32e035 Fix own mistake with kyrgyz iso code (did not seem to bother blender, though…). 2012-04-09 19:02:29 +00:00
Howard Trickey
25492d1e4c Fix bug 30866: prevent 2-sided polygons from knife cuts.
Blender bmesh code assumes there aren't any of those, so crashed
when trying to delete a vertex involved in one.
2012-04-09 12:50:43 +00:00
Thomas Dinges
c3fc0faae2 Game Engine:
* Scons compile fix for svn 45479.
2012-04-09 11:03:58 +00:00
Campbell Barton
e9346e3cfd patch [#30669] Inconsistency of Transform Operator Descriptions
from Harley Acheson (harley)
2012-04-09 09:52:12 +00:00
Sergey Sharybin
48d71a40b1 Fixes for MovieClip strip user counter.
Currently copies behavior of clip and image editors:
- On file load, all strip will reference clip they're using
- On adding new strip, clip would be referenced only if it've got zero user
- On removing strip clip wouldn't be de-referenced to prevent clip editors
  pointing to zero-counted datablocks.
Not actually ideal from human beings point of view, but referencing/dereferencing
clip on each strip add/delete is getting crappy because of current logic of how
clip datablocks are referenced from clip editor (which is designed to work fine with
loading files without loading UI).
2012-04-09 08:45:51 +00:00
Campbell Barton
d5953568c8 use 'const float[3]' for derived mesh callback args. 2012-04-09 07:06:06 +00:00
Campbell Barton
f5bb4635c6 fix [#30852] Wrong Material ID applied for the new faces 2012-04-09 05:17:07 +00:00
Campbell Barton
9a6a791ff0 fix [#30865] Crash when browsing last operators in outliner (or by Python API)
Operator descriptions can be NULL pointers,
fix this by making use of PROP_NEVER_NULL flag, when its not set, generated string funcs will test for NULL.
2012-04-09 04:39:47 +00:00
Nicholas Bishop
b7113002db Fix bug [#30863] Array Modifier Start and End Cap cause crash when the Cap Object has vertex group
Another crash with array caps, was caused by not making a deep enough
copy of CD field.

Also fixed the type of the 'mask' parameter, was int where it should
be 64-bit.
2012-04-09 02:14:55 +00:00
Dalai Felinto
bcd6c84a66 bugfix [#30760] edit text property bug
backspace was messing up with utf8 text.
hijacking Blender utf8 functions

tested in CMake but I think scons should work too. No idea about pure 'make'
Happy Easter ;)
2012-04-09 01:42:44 +00:00
Francisco De La Cruz
891b46e074 Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression. 2012-04-09 01:24:56 +00:00
Jason Wilkins
dabcdc1532 Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions
This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.
2012-04-09 01:16:19 +00:00
Bastien Montagne
35b4836711 Fix for [#30822] Foam Mapping for Ocean Modifier is out of sync in Blender Internal Render.
We need both a new MLOOPUV and MTEXPOLY layers with generated geometry! For some reason, the loopuv alone seemed to work in 3D view, but definitively not in render.
2012-04-08 19:50:00 +00:00
Campbell Barton
4fc6ef1cf5 style cleanup: pep8 some C/style 2012-04-08 08:09:37 +00:00
Campbell Barton
c1e475e527 code cleanup:
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
2012-04-08 07:34:09 +00:00
Francisco De La Cruz
68daca1cbf Fix [#30853] "Merge At Last" is missing in multicomponent mode
Mode selection inverted in multicomponent mode including vertices.
2012-04-07 23:31:15 +00:00
Francisco De La Cruz
cbd95d8159 Fix [#30855] Vertex Slide not using the active vertex
Now uses the last selected vertex. 
Also, snapping thresholds are now dynamic and the tool's operation should be more consistent with multiple edges selected on invocation.
2012-04-07 19:53:39 +00:00
Thomas Dinges
fd37970b80 * Replace some more Blender 2.5x with Blender 2.6x and some code cleanup. 2012-04-07 18:39:29 +00:00
Thomas Dinges
c60e7cd67b Collada:
* Save "Blender 2.6x" if built without BUILDINFO.
2012-04-07 18:32:53 +00:00
Sergey Sharybin
fec5221a65 Disabling color channels for float images in clip editor now works fine. 2012-04-07 16:59:06 +00:00
Sergey Sharybin
7018345bee Fixed deadlock on loading file without number group into movie clip editor 2012-04-07 16:37:55 +00:00