Cleanup: style
This commit is contained in:
parent
ff0285c476
commit
73c4643179
|
@ -152,7 +152,8 @@ static bool pointer_to_component_node_criteria(
|
|||
*subdata = pchan->name;
|
||||
/* But B-Bone properties should connect to the actual operation. */
|
||||
if (!ELEM(NULL, pchan->bone, prop) && pchan->bone->segments > 1 &&
|
||||
STRPREFIX(RNA_property_identifier(prop), "bbone_")) {
|
||||
STRPREFIX(RNA_property_identifier(prop), "bbone_"))
|
||||
{
|
||||
*operation_code = DEG_OPCODE_BONE_SEGMENTS;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -225,7 +225,7 @@ void deg_iterator_objects_step(BLI_Iterator *iter, DEG::IDDepsNode *id_node)
|
|||
|
||||
if (ob_visibility & OB_VISIBLE_INSTANCES) {
|
||||
if ((data->flag & DEG_ITER_OBJECT_FLAG_DUPLI) &&
|
||||
(object->transflag & OB_DUPLI))
|
||||
(object->transflag & OB_DUPLI))
|
||||
{
|
||||
data->dupli_parent = object;
|
||||
data->dupli_list = object_duplilist(data->graph, data->scene, object);
|
||||
|
|
|
@ -839,7 +839,8 @@ void workbench_deferred_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob)
|
|||
}
|
||||
}
|
||||
else if (ELEM(wpd->shading.color_type,
|
||||
V3D_SHADING_SINGLE_COLOR, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_RANDOM_COLOR)) {
|
||||
V3D_SHADING_SINGLE_COLOR, V3D_SHADING_OBJECT_COLOR, V3D_SHADING_RANDOM_COLOR))
|
||||
{
|
||||
/* Draw solid color */
|
||||
material = get_or_create_material_data(vedata, ob, NULL, NULL, wpd->shading.color_type);
|
||||
if (is_sculpt_mode) {
|
||||
|
|
|
@ -8449,7 +8449,7 @@ static void createTransGPencil(bContext *C, TransInfo *t)
|
|||
/* only copy center in local origins.
|
||||
* This allows get interesting effects also when move using proportional editing */
|
||||
if ((gps->flag & GP_STROKE_SELECT) &&
|
||||
(ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS))
|
||||
(ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS))
|
||||
{
|
||||
copy_v3_v3(td->center, center);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue