style cleanup: trailing tabs & expand some non prefix tabs into spaces.
This commit is contained in:
@@ -201,7 +201,7 @@ static int object_hide_view_set_exec(bContext *C, wmOperator *op)
|
||||
ED_base_object_activate(C, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
CTX_DATA_END;
|
||||
|
||||
@@ -684,7 +684,7 @@ static void copymenu_logicbricks(Scene *scene, View3D *v3d, Object *ob)
|
||||
if (TESTBASELIB(v3d, base)) {
|
||||
|
||||
/* first: free all logic */
|
||||
free_sensors(&base->object->sensors);
|
||||
free_sensors(&base->object->sensors);
|
||||
unlink_controllers(&base->object->controllers);
|
||||
free_controllers(&base->object->controllers);
|
||||
unlink_actuators(&base->object->actuators);
|
||||
@@ -885,7 +885,7 @@ static void copy_attr(Main *bmain, Scene *scene, View3D *v3d, short event)
|
||||
id_us_plus((ID *)cu1->vfonti);
|
||||
if (cu1->vfontbi) cu1->vfontbi->id.us--;
|
||||
cu1->vfontbi = cu->vfontbi;
|
||||
id_us_plus((ID *)cu1->vfontbi);
|
||||
id_us_plus((ID *)cu1->vfontbi);
|
||||
|
||||
BKE_vfont_to_curve(bmain, scene, base->object, 0); /* needed? */
|
||||
|
||||
@@ -988,7 +988,7 @@ static void copy_attr(Main *bmain, Scene *scene, View3D *v3d, short event)
|
||||
cu1->flag |= CU_UV_ORCO;
|
||||
else
|
||||
cu1->flag &= ~CU_UV_ORCO;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (event == 29) { /* protected bits */
|
||||
base->object->protectflag = ob->protectflag;
|
||||
@@ -1401,7 +1401,7 @@ static void UNUSED_FUNCTION(image_aspect) (Scene * scene, View3D * v3d)
|
||||
else ob->size[1] = ob->size[0] * y / x;
|
||||
|
||||
done = TRUE;
|
||||
DAG_id_tag_update(&ob->id, OB_RECALC_OB);
|
||||
DAG_id_tag_update(&ob->id, OB_RECALC_OB);
|
||||
}
|
||||
}
|
||||
if (done) break;
|
||||
@@ -1795,7 +1795,7 @@ static int logicbricks_copy_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
{
|
||||
if (ob != ob_iter) {
|
||||
/* first: free all logic */
|
||||
free_sensors(&ob_iter->sensors);
|
||||
free_sensors(&ob_iter->sensors);
|
||||
unlink_controllers(&ob_iter->controllers);
|
||||
free_controllers(&ob_iter->controllers);
|
||||
unlink_actuators(&ob_iter->actuators);
|
||||
@@ -1864,7 +1864,7 @@ static int game_physics_copy_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
ob_iter->anisotropicFriction[0] = ob->anisotropicFriction[0];
|
||||
ob_iter->anisotropicFriction[1] = ob->anisotropicFriction[1];
|
||||
ob_iter->anisotropicFriction[2] = ob->anisotropicFriction[2];
|
||||
ob_iter->collision_boundtype = ob->collision_boundtype;
|
||||
ob_iter->collision_boundtype = ob->collision_boundtype;
|
||||
ob_iter->margin = ob->margin;
|
||||
ob_iter->bsoft = copy_bulletsoftbody(ob->bsoft);
|
||||
if (ob->restrictflag & OB_RESTRICT_RENDER)
|
||||
|
||||
Reference in New Issue
Block a user