Campbell Barton
2e72720718
apply offset to the camera view - this works exactly like camera shift (transforms X/Y in the same space).
2012-06-13 13:23:48 +00:00
Campbell Barton
91781c76c4
framing options for camera background image: stretch/fit/crop
2012-06-13 12:58:01 +00:00
Brecht Van Lommel
19dd66cf3b
3D View: add Backface Culling option, to hide faces when seen from the back side,
...
found in the Display panel.
Patch by Simon Kirk and Irie Shinsuke, refactored to also work for non-mesh objects
and avoid globals.
2012-05-25 09:26:47 +00:00
Thomas Dinges
03ed173fe6
3D View UI:
...
* Remove redundant "Delete" for Edge Loop in the Delete (X) menu.
2012-05-18 21:13:22 +00:00
Campbell Barton
eb22b52482
style cleanup: pep8
2012-05-15 18:50:51 +00:00
Campbell Barton
e79c29a1d6
style cleanup: raytree code
2012-05-15 18:45:20 +00:00
Sergey Sharybin
8496162cef
Fix for second part of #31445 : Surface "Control Points" menu is empty
...
The only difference that it should be Select Linked All operator added to the menu
2012-05-15 15:34:49 +00:00
Sergey Sharybin
fbea5692ea
Fix #31445 : Surface "Control Points" menu is empty
...
It is possible to create hook for surfaces, so display this entry
in Control points menu.
2012-05-15 15:28:59 +00:00
Bastien Montagne
800bc74a8f
Adds “align” option to snap to verts/edges/faces, for bones in Pose mode.
...
Have to use a ugly hack, as for pose bones, rotscale transform matrix is not always the same as translate one... :/
Adresses feature request [#30979 ] snapping: "align rotation with the snapping target" and pose-mode.
2012-05-13 16:01:59 +00:00
Campbell Barton
9004f9f998
add access to bevel weight modal operator (only available in the Shift+E edge menu currently)
2012-05-12 23:07:52 +00:00
Thomas Dinges
ed12a5d001
3D View:
...
* Changed Duplicate and Exture Operator fpr Curves/Surfaces to Duplicate/Extrude and Move, like for Mesh objects, for consistency. This is also consistent with Shift+D and E shortcut.
This fixes [#31429 ] Curve menu polish.
* Fixed a wrong tooltip for metaball duplication.
2012-05-12 20:50:46 +00:00
Nicholas Bishop
ee9f917f08
Add keymap and menu entries for masking.
...
* Add CTRL+IKEY to invert the mask.
* Add ALT+MKEY to clear the mask.
* Change the 'Hide' menu in sculpt mode to 'Hide/Mask', adds entires
for clearing, filling, and inverting the mask, as well as hiding
masked regions.
2012-05-10 20:36:13 +00:00
Bastien Montagne
1118b3fe3f
Mesh elements sorting refactor.
...
Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).
Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.
Also added bug ref I forgot in r46354 (armature.c).
2012-05-06 17:14:56 +00:00
Campbell Barton
e17a708dce
add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).
...
- rename only_select op property to only_selected (both were used).
- only do mingw workaround when building with FREE_WINDOWS defined.
2012-05-06 12:13:45 +00:00
Joshua Leung
1cf2c099f7
Bugfix [ #31297 ] Transform menu often showed operators which didn't make sense
...
for the contexts they appeared in
The VIEW3D_MT_transform menu was being used everywhere, although not all the
operators there applied to the current mode (e.g. the pivot point, animated
transforms to deltas, and a few others were Object-mode only). Split off the
offending parts into separate menus for the specific modes, and made these
extend the basic menu type.
2012-05-06 06:37:07 +00:00
Bastien Montagne
e9ac31bee4
Fix [ #31322 ] Assign to Active Group adds new group
2012-05-05 17:33:18 +00:00
Campbell Barton
9b37bf21f4
feature request from VenomGfx- lock to active as an operator since its tedious setting the object and bone manually (especially if you have it right in front of you)
...
uses keys
- Shift+PadPeriod --- to set
- Alt+PadPeriod --- to clear (also clears cursor and camera locking)
2012-05-05 16:38:23 +00:00
Sergey Sharybin
f9663b744e
Do not stick normal length slider in 3d viewport properties to display normals buttons
2012-05-01 09:38:29 +00:00
Brecht Van Lommel
144534eda8
Fix #31180 : limit selection to visible button in 3d header not showing up in
...
material draw mode.
2012-04-30 14:52:30 +00:00
Campbell Barton
41a5e731a2
bmesh: new wireframe tool
...
- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.
2012-04-29 10:44:00 +00:00
Campbell Barton
c2ede58d68
fix [ #31083 ] "Hide Selected" through Menu Operation doesn't work well
2012-04-24 17:50:01 +00:00
Campbell Barton
6f1019e869
add inset and bridge to mesh specials menu (along side bevel) + typo fix.
2012-04-24 01:04:37 +00:00
Campbell Barton
37a79f4727
fix [ #30972 ] Editmesh split by materials not working.
2012-04-16 13:49:04 +00:00
Bastien Montagne
20110e703e
Do not hide (gray out) lens/lock to object/lock to cursor options in Quad views (View panel)...
2012-04-13 15:21:26 +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
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
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
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
Campbell Barton
01e55b6fc3
code cleanup: remove unused imports/defines + other redundant code.
2012-04-08 13:11:25 +00:00
Thomas Dinges
32c5b09192
Fix [ #30851 ] Mesh Editmode: Specials-menu lost "Subdivide smooth"
...
* Subdivide Smooth was missing in the edit mode specials menu since B-Mesh merge.
2012-04-07 14:04:52 +00:00
Francisco De La Cruz
6482351ed9
Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
...
-
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"
2012-04-07 03:15:20 +00:00
Campbell Barton
c93c8bda3d
replace relative imports with absolute imports so scritps can be executed directly (live editing).
2012-04-04 14:39:52 +00:00
Campbell Barton
d37d17019c
fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,
...
also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.
2012-04-03 02:16:27 +00:00
Campbell Barton
12655edc84
remove dissolve keybinding, conflicts with draw, add back to delete menu.
...
dissolve is now 'X -> D'
2012-03-28 07:44:20 +00:00
Campbell Barton
df4a8a4dab
fix [ #30672 ] Mesh menu duplicity
...
own fault - added this before desolve menu existed.
2012-03-26 00:12:53 +00:00
Campbell Barton
81d8f17843
style cleanup: pep8, indentation
2012-03-24 07:36:32 +00:00
Daniel Salazar
99b95926bb
Adding back delete edge loop to delete menu
2012-03-24 04:16:44 +00:00
Campbell Barton
d3f8952269
bmesh editmode - split dissolve into its own menu. mesh delete code was getting quite messy and mixed in too much different functionality just to add in same menu. Now use a pu menu for delete key which can call different ops.
2012-03-23 10:30:42 +00:00
Campbell Barton
4b52ad6a35
edge split bmesh operator wasnt accessible (defined but not used), for some reason it had a 'numcuts' option.
...
add edge split to mesh edge menu.
2012-03-23 03:10:44 +00:00
Campbell Barton
11500a3590
patch from Richard Shaw, exclude ffmpeg files when its disabled.
...
also fix for incorrect text in mesh specials menu - Select Inverse was called (De)Select All.
2012-03-20 22:00:21 +00:00
Campbell Barton
86796252da
bmesh: inset tool, access from face menu (Ctrl+F)
...
- Even option (like solidify even option)
- Relative option (insets based on lengths of surrounding edges)
TODO: merge tares when 2+ face corners meet but don't form a contiguous region.
2012-03-19 05:45:15 +00:00
Bastien Montagne
2635d78ec1
Grumph, more fixes in this Select menu (Invert had default op name for metaball and particules...). Also fixed "(De)select All" name of particule op.
2012-03-18 20:04:41 +00:00
Bastien Montagne
dd69e76d82
Fix [ #30588 ] "select/deselect all"-menu for lattice doesn't default to TOGGLE
2012-03-18 19:55:42 +00:00
Bastien Montagne
02abb636a3
UI messages: unification of select/deselect stuff.
...
Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.
2012-03-17 19:14:08 +00:00
Campbell Barton
fa17b0a911
add select invert for lattice
2012-03-16 23:01:37 +00:00
Nicholas Bishop
32a92a65e5
Move brush tool/paint-mode from toolbar to brush menu.
2012-03-15 09:11:24 +00:00
Nicholas Bishop
7454d939c5
Add partial visibility operator including keymaps and menu items.
...
Uses HKEY for border hide, CTRL+HKEY for border show, and ALT+HKEY for
show all.
Documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/PartialVisibility
Code review:
http://codereview.appspot.com/5695043
2012-03-14 06:32:43 +00:00
Martin Poirier
67f1e83508
[ #30373 ] Which part to snap in volume snapping is removed
...
By Bug reported by Pep Ribal
Also fixed an object mode bug with volume snapping and made it compatible with the edit mode "Snap on self" option
2012-03-10 21:40:35 +00:00
Campbell Barton
ee84084f99
style cleanup: pep8 + picky edits
2012-03-08 05:36:05 +00:00
Campbell Barton
e17bf02c2d
Code Cleanup:
...
* made bmesh_structure.h function names more consistant.
* remove unused code in bmesh_structure.c
* removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping).
* tagged some BMESH_TODO's
2012-02-27 13:47:53 +00:00