Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
80da50270d slight improvement to bevel, when using the edges to take the new vertex location into account, dont let the longer edge skew the new position.
also include an new & improved vertex placement method but left commented for now.
2011-12-12 09:28:46 +00:00
Campbell Barton
3d64d5afb6 minor bevel improvement
- concave vertices in a polygon were not correctly checked for.
- remove commented method of calculating bevel vertex positions, have a similar/better method coming.
2011-12-12 09:09:01 +00:00
Campbell Barton
4a364d2362 fix for 2 crashes running operators in background mode. 2011-12-12 03:25:10 +00:00
Tamito Kajiyama
32db495e50 Updates on the Parameter Editor mode:
* Added a new chain splitting option for dividing chains into pieces having
a given curvilinear 2D length.

* Rearranged the UI controls of chain splitting options according to the
actual order of processing.

* Made changes for converting each view edge into a chain in the case of
not using chaining.
2011-12-11 23:41:15 +00:00
Campbell Barton
c280002879 fix [#29579] Redo brolken when jobs are running
changes
* undo now checks screen jobs only, was checking all jobs before so a material preview could make an undo fail.
  now this is only limiteds for render/fluid bake/bake.

* the redo UI is now disabled when screen operators run.
2011-12-11 19:23:02 +00:00
Campbell Barton
4b66bd3748 fix for accessing the keying set menu as an enum rather than in int 2011-12-11 17:10:46 +00:00
Sergey Sharybin
2a426d3eff Fix #29574: Strange crash using translated Blender
Description can be NULL for properties like enum items. Just added NULL-check here
2011-12-11 15:42:39 +00:00
Tamito Kajiyama
8a182d41b1 Fix for Operators.recursiveSplit() not able to split a chain within the last segment. 2011-12-11 11:17:41 +00:00
Dalai Felinto
2da7066caa SCA: Scene Actuator text error
copy+paste bug when creating the rnas
2011-12-11 10:39:41 +00:00
Campbell Barton
8eab2c66a7 workaround for tessface not being recalculated when undo is disabled 2011-12-11 05:05:37 +00:00
Campbell Barton
5f6ff0f412 svn merge ^/trunk/blender -r42550:42564 2011-12-11 01:06:43 +00:00
Campbell Barton
3998e2878b delta scale default was still left at 0.0 2011-12-11 00:01:04 +00:00
Tamito Kajiyama
efc4341ee4 Merged changes in the trunk up to revision 42556.
Conflicts resolved:
source/blender/editors/space_view3d/drawobject.c
2011-12-10 20:54:43 +00:00
Campbell Barton
ab6c810212 remove unused function, found when syncing with bmesh, also remove/comment some unused defines 2011-12-10 20:10:28 +00:00
Campbell Barton
6bc55f2e4a minor cleanup and sync with trunk 2011-12-10 18:41:53 +00:00
Campbell Barton
65e70985c4 fix [#29541] Scale of faces incorrect when using individual origins 2011-12-10 18:25:56 +00:00
Campbell Barton
ce86bebfe3 knife_project_v3 can call ED_view3d_project_float directly without having its own check for ortho 2011-12-10 18:24:44 +00:00
Lukas Toenne
33b1939aee In the node space context update function: Properly clear the snode->edittree pointer when no snode->nodetree is active. This would lead to crash in operators when switching from an existing node tree, since the usual poll function only tests for the edittree.
Fixes bug #29566.
2011-12-10 15:52:08 +00:00
Sergey Sharybin
a912afd202 Fix #29516: Twist brush giving crazy results
- Rotation now happens around initial stroke location rather than around scene origin
- Added slider for rotation strength which helps in cases only few rotation is needed
  to be to increase the precision of such strokes
2011-12-10 14:45:30 +00:00
Sergey Sharybin
e9a0a42dd3 Fixed for movieclips tag function which was tagging wrong list
Pointed out by Lockal, thanks!
2011-12-10 13:54:51 +00:00
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
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
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
Sergey Sharybin
3717a4a9e1 Merging r42482 through r42532 from trunk into soc-2011-tomato 2011-12-09 10:02:01 +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
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
Campbell Barton
99d893bb89 svn merge ^/trunk/blender -r42516:42521 2011-12-09 00:23:57 +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
Campbell Barton
980e68175b svn merge ^/trunk/blender -r42495:42516 2011-12-08 17:32:37 +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