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
30888ac25c
doxygen docs explaining whats going on with shape-key conversion.
2012-04-12 06:52:50 +00:00
a0c4efa3d2
code cleanup: remove duplicate define on windows.
2012-04-12 03:10:36 +00:00
f8b7cfb6ae
code cleanup: quiet some mingw warnings.
2012-04-12 02:50:21 +00:00
cc1259178b
code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings.
2012-04-12 02:15:33 +00:00
5aaf3ede76
code cleanup: remove unused var for windows and style edit (remove spaces between 'var[num]')
2012-04-12 00:15:02 +00:00
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
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
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
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
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
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
a8226cbcb2
code cleanup: mselect conversion when creating a bmesh from a bmesh was overly verbose.
2012-04-11 11:22:19 +00:00
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
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
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
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
b4a0152e76
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
2012-04-11 08:15:13 +00:00
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
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
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
dde8c10432
Smoke: Fix for some non animated properties
2012-04-10 17:45:25 +00:00
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
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
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
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
530f199124
Code cleanup: remove a bunch of unused code from this file.
2012-04-10 15:47:34 +00:00
4b022ad360
Fix #30754 : motion blur shutter was animateable while this is actually not
...
supported.
2012-04-10 15:43:42 +00:00
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
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
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
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
5061f2eb62
fix [ #30839 ] Blender crashes while open/close a scene and deletes .blend-file
2012-04-10 13:10:44 +00:00
1b74ec9564
fix for too small MATHUTILS_TOT_CB when the game engine runs.
2012-04-10 12:35:15 +00:00
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
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
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
e03ebf7a41
code cleanup: replace (val >> 16) with macro RNA_SUBTYPE_UNIT_VALUE(val)
2012-04-10 09:03:45 +00:00
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
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
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
7f8aaaf100
expose double limit used by auto-merge, addresses bug [ #30884 ]
2012-04-10 01:45:22 +00:00
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
95654de53d
fix [ #30880 ] Selected to Adjacent Unselected broken
2012-04-10 00:09:54 +00:00
66ae32e035
Fix own mistake with kyrgyz iso code (did not seem to bother blender, though…).
2012-04-09 19:02:29 +00:00
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
c3fc0faae2
Game Engine:
...
* Scons compile fix for svn 45479.
2012-04-09 11:03:58 +00:00
e9346e3cfd
patch [ #30669 ] Inconsistency of Transform Operator Descriptions
...
from Harley Acheson (harley)
2012-04-09 09:52:12 +00:00
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
d5953568c8
use 'const float[3]' for derived mesh callback args.
2012-04-09 07:06:06 +00:00