Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-12-15 20:22:18 +0400
committerTon Roosendaal <ton@blender.org>2012-12-15 20:22:18 +0400
commit695468a3b9a54dc2f26b2aac7c48d6d066f80b3d (patch)
tree2bc4287465ca19a682c0dc503b4d7dcba1562c7b /source/blender/editors/screen
parentc26746ccec8f7513cc28612842dc4033dddaa91d (diff)
Finished themes for transparent Button regions in Blender.
Notes and image: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability - now each editor has own settings for "show panel header" and "show panel background", and colors+alpha for this. - this setting used to be global for all editors, but it can conflict with looks of specific editors. - Now you can set for editors to show panels with a 100% transparent tool/properties region. Note: read XML theme files now might get an error, Campbell will fix.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/screen_ops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 0f1c44de4ce..a26f5e87090 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -1021,11 +1021,8 @@ static int area_move_init(bContext *C, wmOperator *op)
select_connected_scredge(sc, actedge);
/* now all vertices with 'flag==1' are the ones that can be moved. Move this to editflag */
- for (v1 = sc->vertbase.first; v1; v1 = v1->next) {
- v1->editflag = 0;
- if (v1->flag)
- v1->editflag = 1;
- }
+ for (v1 = sc->vertbase.first; v1; v1 = v1->next)
+ v1->editflag = v1->flag;
area_move_set_limits(sc, md->dir, &md->bigger, &md->smaller);