Commit Graph

37618 Commits

Author SHA1 Message Date
Campbell Barton
c74ace03e0 fix [#30907] Inset tool with Select Outer disabled does not allow translation of new faces
inset with select-inner faces gave invalid selection.

also correct spelling in some comments.
2012-04-12 07:40:47 +00:00
Campbell Barton
30888ac25c doxygen docs explaining whats going on with shape-key conversion. 2012-04-12 06:52:50 +00:00
Campbell Barton
8660a20049 cmake/mingw now builds with default configuration (needed to disable tiff/exr/cycles) 2012-04-12 05:34:17 +00:00
Campbell Barton
a0c4efa3d2 code cleanup: remove duplicate define on windows. 2012-04-12 03:10:36 +00:00
Campbell Barton
f8b7cfb6ae code cleanup: quiet some mingw warnings. 2012-04-12 02:50:21 +00:00
Campbell Barton
8fb067af93 code cleanup: avoid confusion with utfconv lib - was configuring this windows only lib on non windows platforms (scons only). 2012-04-12 02:37:28 +00:00
Campbell Barton
cc1259178b code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings. 2012-04-12 02:15:33 +00:00
Campbell Barton
5aaf3ede76 code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]') 2012-04-12 00:15:02 +00:00
Campbell Barton
c8b19b7b7f fix [#30771] Shapekeys: Basis shapekey is not kept in sync with "RealMesh"
behave the same as in 2.4x.

- merge BMesh / Pre-BMesh code shape key conversion code, old code was called as a fallback but merge instead.
- fix possible crash - new bmesh code was clamping the vertex index for the oldverts array by the new total number of verts.
2012-04-11 15:59:50 +00:00
Campbell Barton
1f6369fd41 bmesh shape key conversion on exiting editmode.
there were 2 blocks of code (both calculating the offset array), now move the fallback method into the main key conversions block.
2012-04-11 15:24:13 +00:00
Campbell Barton
e7b7bc1272 bmesh exit editmode shape key conversion - split out 'keyblock --> customdata layer index' into its own function, makes code easier to follow. 2012-04-11 14:59:35 +00:00
Campbell Barton
1eff051461 bmesh shape key conversion when exiting editmode.
- avoid running old conversion code if its not needed.
- de-duplicate functionality which gets offsets from edits made in editmode.
2012-04-11 14:42:44 +00:00
Sergey Sharybin
ce95b0be1e libmv: bundle new upstream version from own branch which should support
compilation of glog on hurd platform.
2012-04-11 13:51:37 +00:00
Sergey Sharybin
bb0a3e1d90 Game engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL
That's what this function expect (but somehow does not use) and it gave compilation
error when using gcc-4.6.3 from debian linux.
2012-04-11 13:17:13 +00:00
Campbell Barton
c56b39b8dd write mesh selection history to the blend file. without this active edge/vert are lost on UNDO. 2012-04-11 11:52:21 +00:00
Campbell Barton
a8226cbcb2 code cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose. 2012-04-11 11:22:19 +00:00
Campbell Barton
9e663017d8 py rna/api: fix for error running RNA_property_collection_type_get on non collection property types. 2012-04-11 10:35:09 +00:00
Brecht Van Lommel
a3b491eca7 Fix cycles opencl compile issue, fminf/fmaxf() was defined both as macro and function. 2012-04-11 09:07:28 +00:00
Brecht Van Lommel
1c84fb234f Fix #30896: cycles mask layer not working for objects without material assigned. 2012-04-11 08:57:54 +00:00
Campbell Barton
85908b498b fix [#30906] dict(prop) crashes if prop is a PropertyGroup with nested PropertyGroup
the ID of a python ID property can be NULL.
2012-04-11 08:37:48 +00:00
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
5da50b9c09 update for changes in the py api 2012-04-11 08:22:31 +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
a52ba57b4d Fix for recent commit that changed normal display buttons to use icons, the
vertex/face icons were swapped.
2012-04-10 17:01:35 +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
297fde9e5f Fix #30892: File > New is easy to hit accidentally, now it asks for confirmation. 2012-04-10 15:56:33 +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
Campbell Barton
044b0ef2f2 use space more efficiently for normal mesh panel buttons (icons for face/vert normal) 2012-04-10 11:36:19 +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