Campbell Barton
65f3b93f14
svn merge ^/trunk/blender -r42521:42550
2011-12-10 05:38:00 +00:00
Joshua Leung
a88b29c062
Bugfix [ #29567 ] Second Hook Modifier fails on Curve Object
...
This was broken in r.42515. In particular, rigs with Spline IK would break,
since they often use curves with hook modifiers controlling the control-points
of those curves.
2011-12-10 03:37:37 +00:00
Joshua Leung
3f39fde373
Compile fix for r.42546 typo
2011-12-10 03:24:19 +00:00
Morten Mikkelsen
0cc887e2e9
disabling DM_calc_auto_bump_scale() until after release
2011-12-10 01:14:36 +00:00
Campbell Barton
ae17390b77
picky edits & regen man page
2011-12-10 01:07:22 +00:00
Campbell Barton
87ff925d90
fix for error in bpy_extras.image_utils.load_image() when the image file exists but cant be read (wrong permissions for eg).
2011-12-10 01:01:22 +00:00
Morten Mikkelsen
82b9e4d16f
verify existence of dm
2011-12-10 01:00:12 +00:00
Morten Mikkelsen
965c287630
fixes scale on derivative maps
2011-12-09 23:26:06 +00:00
Campbell Barton
82480e9995
fix for bpy_extras.image_utils.load_image() making a placeholder image when passed a path in bytes.
...
made OBJ import fail when the image was missing.
2011-12-09 21:07:37 +00:00
Campbell Barton
71ea408c73
check for weights outside of 0-1 range when validating weights
2011-12-09 20:29:21 +00:00
Sergey Sharybin
c804f40027
Fix #29558 : Selecting similar edges doesn't work
...
Return OPERATOR_FINISHED from select grouped operator in any case so
even if nothing were selected operator would be registered in redo panel
and threshold can be adjusted there.
2011-12-09 16:10:15 +00:00
Sergey Sharybin
3e90bfb07b
Fix for recent rna rename of global to use_global
2011-12-09 15:56:04 +00:00
Sergey Sharybin
707e0da6f4
Fix for select similar vertices operator: it's exec used to return selection count
...
instead of OPERATOR_* return values which used to confuse operators system.
2011-12-09 14:30:44 +00:00
Sergey Sharybin
9d807eb6dd
Mesh drawing optimization and fixes:
...
- Pass MFace, MTface and OrigIndex arrays via userData to compareDrawParams callback
rather than looking up for this layers for each face
- This allowed to avoid massing DM to compare callback which seems like a bad-level pass
- Fixed crashes on some video cards when assigning different materials to different
faces in edit mode. Both of intel and nvidia cards in my laptop were affected by
this error
2011-12-09 11:46:48 +00:00
Campbell Barton
2827f57f62
global is python keyword so cant use as operator argument,
...
also ran operator cheat sheet and made sure no syntax errors.
+ minor pep8 edits.
2011-12-09 10:19:11 +00:00
Campbell Barton
f025b7b511
went over all uses of MDeformWeight.def_nr and made sure the value is clamped when used as an array index.
2011-12-09 08:20:27 +00:00
Campbell Barton
6a6c9fc160
function de-duplicate, particle.c had 'vert_weight' which serves the exact same purpose as 'defvert_find_weight'.
2011-12-09 08:05:23 +00:00
Campbell Barton
11aba526f2
another possible fix for bug [ #29521 ], all callers of flip_side_name(...), assumed it initialized the string however for 1-2 length names it returned without doing anything.
...
in most cases the caller would then check if the name was different to see if the name was flipped, incorrectly comparing the uninitialized string with the original name.
2011-12-09 07:35:56 +00:00
Campbell Barton
a80a5c4034
BKE_mesh_validate_arrays was correcting non-finite verts and zero normals even when do_fixes was false, also return true if any bad vertex weights were found.`
2011-12-09 07:23:17 +00:00
Campbell Barton
fb2961a178
possible/partial fix for [ #29521 ], in many places the deform group index was not checked which could crash blender.
2011-12-09 07:18:04 +00:00
Daniel Salazar
fbdb8b414d
[ #29509 ] Randomize rotations fails with Axis/Angle
...
Fix based on Brecht's idea: use Blender's conversion from quat or axis angle to euler and back. Euler rotations are left alone so their rotation order is respected
2011-12-09 06:21:26 +00:00
Campbell Barton
fd543185cc
minor changes, fix coming next (no functional edits).
2011-12-09 06:05:58 +00:00
Campbell Barton
2ba8b81949
remove redundant cases. no functional change.
2011-12-09 01:27:59 +00:00
Brecht Van Lommel
ea399744e7
Fix #29555 : cycles crash rendering with no material in material slot.
2011-12-09 00:24:48 +00:00
Campbell Barton
99d893bb89
svn merge ^/trunk/blender -r42516:42521
2011-12-09 00:23:57 +00:00
Brecht Van Lommel
3314184f4d
Fix #29528 : crash adding subsurf modifier in a particular scene with viewport render.
2011-12-08 21:55:35 +00:00
Brecht Van Lommel
601b0b284e
Fix for #29475 broke properly updating toggle buttons in popup menus. Tweak the
...
fix a bit, not a true solution to the problem, but too close to release for
bigger changes.
2011-12-08 20:24:01 +00:00
Thomas Dinges
7c630aac80
Scons/CUDA
...
* Added missing bitness info to the nvcc_flags.
This makes sure that the nvcc compiler builds the correct cubins.
2011-12-08 19:16:43 +00:00
Campbell Barton
980e68175b
svn merge ^/trunk/blender -r42495:42516
2011-12-08 17:32:37 +00:00
M.G. Kishalmi
7797c1dc42
randomize transform operators 'rotation' property subtype changed
...
from TRANSLATION to EULER and tweaks needed along with that.
2011-12-08 15:55:49 +00:00
Bastien Montagne
46626e4f5f
Fix [ #29543 ] Hook modifier: falloff + vgroup influence broken
...
A valid derivedmesh is needed for modifier_get_vgroup to work, and it wasn’t take care of when not in edit mode... Checked quickly the other deform modifiers, they all seem to handle this correctly.
2011-12-08 15:50:28 +00:00
Brecht Van Lommel
edcc68b3d0
Fix #29547 : missing units for some curve properties, patch by M.G. Kishalmi.
2011-12-08 14:26:46 +00:00
Brecht Van Lommel
f8ccc111cf
Tweak related to #29545 : show info message if no frames are written in animation
...
render due to disabled Overwrite option.
2011-12-08 14:21:55 +00:00
Howard Trickey
5c377f5f87
Fix #29539 Crash on shortest path
2011-12-08 12:53:43 +00:00
Brecht Van Lommel
5fbc3b57d4
Fix #29546 : missing 3d view redraw after game exit with overlap draw mode,
...
when launching game from properties editor. Also fix popup/menu still
showing during game when starting from the top menu.
2011-12-08 11:37:04 +00:00
Sergey Sharybin
36e7a22fcc
Disable redo for some vertex group operators to prevent confusing
...
situation when changing properties in redo panel messes up things.
This should help in cases described in #29527 : Vgroup assign, remove and undo
2011-12-08 11:02:29 +00:00
Campbell Barton
0feb2acd8a
regarding [ #29521 ] Invalid Vertex Weights
...
added checks to mesh.validate() so it checks for nan weights and negative groups which can crash blender.
the file in the report looks to be corrupt, but this at least can make it load.
also noticed validate was using isnan() and finite() were both used to check valid vertex locations, only finite is needed.
2011-12-08 04:51:03 +00:00
Campbell Barton
2b82498544
minor refactor of vertex group functions,
...
- defvert_remove_index's index wasnt used anywhere, rename to defvert_remove_group
- defvert_add_to_group was local in MOD_weightvg_util.c, moved to deform.c and renamed to defvert_add_index_notest
real fix coming next...
2011-12-08 03:47:45 +00:00
Campbell Barton
6b674008a1
give a more useful error message when bmesh operators fail to pass, was also leaking memory in this case.
2011-12-08 02:08:07 +00:00
Campbell Barton
ea6de7626e
removed some bmesh todo comments which are not needed and minor edits on previous commit.
2011-12-08 00:28:42 +00:00
Campbell Barton
7bc3eeb707
bmesh todo, add UV loop flags pin & select
2011-12-08 00:18:57 +00:00
Brecht Van Lommel
a5fb261016
Fix #29520 : issue drawing with VBO + GLSL + alpha pass. Includes some refactoring
...
to hopefully make alpha material drawing code more clear.
2011-12-07 22:03:49 +00:00
Campbell Barton
1ec4629d88
replace function in commented code incase we want to bring it back
2011-12-07 21:55:59 +00:00
Campbell Barton
c5e6b44748
split BM_Collapse_Vert into 2 functions
...
* BM_Collapse_Vert_Faces
* BM_Collapse_Vert_Edges
since these are both quite different operations and callers where checking for one case or another anyway.
2011-12-07 21:54:14 +00:00
Campbell Barton
4b09f86c32
rename iterator type from htype to itype (htype means header type for BMesh elements)
2011-12-07 20:55:28 +00:00
Campbell Barton
d1183814c4
BMESH TODO - BM_editselection_plane now returns a useful orientation from a tri/quad.
2011-12-07 20:13:15 +00:00
Sergey Sharybin
5310ee5e2c
Reorder options in refine menu + fixed typo
...
Patch by Sebastian Koenig, thanks!
2011-12-07 18:51:43 +00:00
Campbell Barton
b245dfbc06
svn merge ^/trunk/blender -r42466:42495
2011-12-07 18:29:21 +00:00
Campbell Barton
3637794436
remove initilaizing weight collor with dummy value (from recent commit), harmless but not needed.
2011-12-07 18:22:16 +00:00
Sergey Sharybin
1b71790316
Update presets for tracking
2011-12-07 17:28:42 +00:00