diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-09-10 07:59:12 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-09-10 07:59:12 +0400 |
commit | 4c072f85d98d6ae7f1322314f8da8b3f2fb40f7d (patch) | |
tree | 41ef4c5a250cd770f2c20fe4ed83c3f92f56334a /source/blender/editors/include | |
parent | b0a1904d33a1c097a8e8fd56fe9b3c1d3a34ca55 (diff) |
commit of transform pinning patch by Fabian Fricke (frigi). wip hotkey is enter/alt-enter to pin/unpin verts. pinned verts aren't affected by transform, e.g. grab, rotate, etc. this could probably work nicer for proportional editing, but that can be done later. also the UI for this probably needs reviewing and feedback. still, very nice patch by Fabian, something I for one will probably find very useful :)
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 3 | ||||
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 8847c9fa52c..9dde4bfd83d 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -111,6 +111,9 @@ void EDBM_editselection_plane(struct BMEditMesh *em, float *plane, struct BMEdit void EDBM_editselection_normal(float *normal, struct BMEditSelection *ese); int EDBM_vertColorCheck(struct BMEditMesh *em); +void EDBM_pin_mesh(struct BMEditMesh *em, int swap); +void EDBM_unpin_mesh(struct BMEditMesh *em, int swap); + void EDBM_hide_mesh(struct BMEditMesh *em, int swap); void EDBM_reveal_mesh(struct BMEditMesh *em); diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 1ae3634c73b..6e7814ad0f8 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -202,6 +202,9 @@ enum { TH_DOPESHEET_CHANNELOB, TH_DOPESHEET_CHANNELSUBOB, + + TH_PIN, + TH_PIN_OPAC, }; /* XXX WARNING: previous is saved in file, so do not change order! */ |