forked from bartvdbraak/blender
code cleanup and add mball select similar into the menu
This commit is contained in:
parent
93edbf3510
commit
5b6e6b7285
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user