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:
authorCampbell Barton <ideasman42@gmail.com>2013-10-25 10:22:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-25 10:22:15 +0400
commit5b6e6b7285972bfce922669d35fc1c452c03b54c (patch)
tree7587cb41b89a6b651b7f88f43e5f796d67274411
parent93edbf3510927a02cfb01f5569eb0f3838670f08 (diff)
code cleanup and add mball select similar into the menu
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py4
-rw-r--r--source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 09719433102..4a36b714c33 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -716,6 +716,10 @@ class VIEW3D_MT_select_edit_metaball(Menu):
layout.operator("mball.select_random_metaelems")
+ layout.separator()
+
+ layout.operator_menu_enum("mball.select_similar", "type", text="Similar")
+
class VIEW3D_MT_select_edit_lattice(Menu):
bl_label = "Select"
diff --git a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp
index caf71040483..a6be9254f6f 100644
--- a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp
+++ b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.cpp
@@ -294,13 +294,13 @@ void FastGaussianBlurOperation::IIR_gauss(MemoryBuffer *src, float sigma, unsign
int offset;
for (y = 0; y < src_height; ++y) {
const int yx = y * src_width;
- offset = yx*COM_NUMBER_OF_CHANNELS + chan;
+ offset = yx * COM_NUMBER_OF_CHANNELS + chan;
for (x = 0; x < src_width; ++x) {
X[x] = buffer[offset];
offset += COM_NUMBER_OF_CHANNELS;
}
YVV(src_width);
- offset = yx*COM_NUMBER_OF_CHANNELS + chan;
+ offset = yx * COM_NUMBER_OF_CHANNELS + chan;
for (x = 0; x < src_width; ++x) {
buffer[offset] = Y[x];
offset += COM_NUMBER_OF_CHANNELS;