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
Campbell Barton
7f8aaaf100
expose double limit used by auto-merge, addresses bug [ #30884 ]
2012-04-10 01:45:22 +00:00
Campbell Barton
8138d261cd
fix [ #30878 ] Lightmap Pack > New Image does not work
2012-04-10 00:56:38 +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
Thomas Dinges
ed47be3bf2
Cycles/OpenCL:
...
* Reverted the general activation of __KERNEL_SHADING__.
Better to handle this in the device file. This way each platform gets specifically what it is capable of atm.
* Nvidia has Shading + Multi Closure
* AMD (Apple) has only Clay Render
* AMD (non Apple) has Basic Shading
2012-04-09 17:44:33 +00:00
Daniel Genrich
2e08b763c5
Bugfix [ #30835 ]: Cycles doesn't work with AMD Juniper GPU, compiller throws errors. Thanks for reporting!
...
Problem: AMD does not like something like this.
float3 *a;
flaot b = a->x;
You need to circumvent this by using:
float3 *a;
float b = (*a).x;
2012-04-09 15:31:31 +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
b0b64b2d80
Particle System UI:
...
* Negate label in the Vertex Groups panel was misleading to the string buttons, rather then the check boxes. Fixed it by having 2 columns.
Not ideal still, but better! :)
Issue reported by Tobias Kummer. Thanks!
2012-04-09 11:38: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