style cleanup: pep8, also quiet compiler warning.

This commit is contained in:
2012-04-20 18:50:18 +00:00
parent 2e20d3dc96
commit 15eb3452ec
7 changed files with 14 additions and 12 deletions

View File

@@ -294,6 +294,7 @@ class AddPresetCloth(AddPresetBase, Operator):
preset_subdir = "cloth"
class AddPresetFluid(AddPresetBase, Operator):
'''Add a Fluid Preset'''
bl_idname = "fluid.preset_add"

View File

@@ -20,6 +20,7 @@
import bpy
from bpy.types import Panel, Menu
class FLUID_MT_presets(Menu):
bl_label = "Fluid Presets"
preset_subdir = "fluid"

View File

@@ -228,10 +228,10 @@ static EdgeLoopPair *edbm_ripsel_looptag_helper(BMesh *bm)
break;
}
e_first = e;
/* initialize */
e_first = e;
v_step = e_first->v1;
e_step = NULL; /* quiet warning, will never remain this value */
uid_start = uid;
while ((e = edbm_ripsel_edge_mark_step(v_step, uid))) {