Commit Graph

47594 Commits

Author SHA1 Message Date
Sergey Sharybin
535aee820b Merging r42602 through r42620 from trunk into soc-2011-tomato 2011-12-14 06:12:20 +00:00
Campbell Barton
e4b712608e when calculating the size to bevel when the factor is measured against the face, use the shorter edge rather then the middle.
this reduces overlapping geometry.
2011-12-14 00:43:42 +00:00
Campbell Barton
a3bdb2d825 svn merge ^/trunk/blender -r42586:42617 2011-12-14 00:30:31 +00:00
Campbell Barton
a7823dda69 fix for py noise doc string (not a show stopper :) ) 2011-12-13 22:30:23 +00:00
Sergey Sharybin
1db55215d0 Do not use a dot in the end of descriptions 2011-12-13 19:40:49 +00:00
Ton Roosendaal
60eba40773 First Blender 2.61 commit! (Sneaked in quick tooltop fix too).
A tag will happen after this commit.
2011-12-13 16:44:31 +00:00
Sergey Sharybin
6c90a192c6 Do not switch to safe malloc if tracking sequence
Malloc is getting to be safe on sequence tracking by the jobs system,
so no additional set up are necessary.

This hopefully fixes crash on OSX with OpenMP enabled when compiling by older gcc
2011-12-13 16:37:52 +00:00
Sergey Sharybin
50d05a2a58 Disallow link/append when in edit mode
Linking changes active object which is pretty useful in general,
but which totally confuses edit mode (i.e. it becoming not so obvious
to leave from edit mode and inwalid tools in toolbar might be displayed)
so disable link/append when in edit mode
2011-12-13 12:51:40 +00:00
Sergey Sharybin
b865c0314f Merging r42533 through r42601 from trunk into soc-2011-tomato 2011-12-13 11:58:59 +00:00
Joshua Leung
ccd916e100 Small typo fix for tooltip of FModifier.blend_out
Cheers to "Lockal" for finding this one!
2011-12-13 10:15:14 +00:00
Sergey Sharybin
8b6100aa26 Fixed crash when tracking several tracks manually
Crash was caused by non-threadsafe guarded allocatio which becomes
threadsafe only when thread was started using BLI_threads module.
2011-12-13 10:07:22 +00:00
Campbell Barton
6254cc1c70 2 new bevel options for the operator and the modifier.
* even offset, uses same shell distance method as solidify to give even with beveled faces.
* distance offset, this is mostly for compatibility with the modifier in trunk which uses the bevel width as a distance rather then a percentage. at the moment this is awkward for the operator since it makes percent act differently where the 0-1 range doesnt make sense.

still need to bring back more options from trunks bevel modifier.
2011-12-13 09:57:19 +00:00
Campbell Barton
143a654e6f formatting and minor refactor of some bmesh functions.
* BM_Make_Quadtriangle --> BM_Make_Face_QuadTri_v
* BM_Make_QuadTri      --> BM_Make_Face_QuadTri
2011-12-13 06:56:10 +00:00
Campbell Barton
8c521496dd save 4 bytes per BMLoop, added some comments on index use. 2011-12-13 05:20:02 +00:00
Campbell Barton
30d129593b non functional changes & de-duplicate yet another face center function 2011-12-12 23:58:05 +00:00
Campbell Barton
8d0dc29aba remove BLI_blenlib since its not needed in quite a few bmesh files 2011-12-12 22:34:05 +00:00
Campbell Barton
3aebfe7a7f formatting and variable rename edits only. 2011-12-12 22:25:28 +00:00
Campbell Barton
8115753fd2 svn merge ^/trunk/blender -r42564:42586 2011-12-12 21:01:39 +00:00
Campbell Barton
01478a3743 correction to report message 2011-12-12 20:57:10 +00:00
Campbell Barton
7abc66ba42 add WM_operator_call_notest() for operators that need to call themselves within invoke functions without being freed. 2011-12-12 18:52:18 +00:00
Sergey Sharybin
ba3c6d4d34 Fix #29603: Mode switch on linked objects
Do not allow to enter to weight paint mode for proxied objects.
2011-12-12 18:25:52 +00:00
Campbell Barton
3e7ad0e271 fix [#29537] file/save crashes when target path isnt found
bug was that uiPupMenuSaveOver(...) could run the WM API call function which freed the operator, within the low level invoke function which kept using the freed memory.

Changed uiPupMenuSaveOver(...) to only show a popup so the caller needs to check if the file exists and should be immediately written (which was done everywhere except for blend saving anyway).

* added note that operators invoke/exec funcs cant call WM_operator_call(...) on themselves, ends up using freed memory.
* added BLI_is_file(path), checks the file exists and isnt a directory.
2011-12-12 18:06:36 +00:00
Sergey Sharybin
cd0608aff5 Fix #29600: Hook actions wrong Tool Shelf adjust
Do not register hook_assign and hook_remove operators in the redo panel.
2011-12-12 14:54:28 +00:00
Sergey Sharybin
237f6fc3b3 Fix #29599: Side of Active tool not working in Faces/Edges
Added warning message if there's no last selected vertex in the selection stack.
2011-12-12 14:52:00 +00:00
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