Cleanup: format
This commit is contained in:
@@ -182,6 +182,7 @@ def geometry_input_node_items(context):
|
|||||||
yield NodeItem("GeometryNodeInputRadius")
|
yield NodeItem("GeometryNodeInputRadius")
|
||||||
yield NodeItem("GeometryNodeInputSceneTime")
|
yield NodeItem("GeometryNodeInputSceneTime")
|
||||||
|
|
||||||
|
|
||||||
# Custom Menu for Geometry Node Instance Nodes.
|
# Custom Menu for Geometry Node Instance Nodes.
|
||||||
def geometry_instance_node_items(context):
|
def geometry_instance_node_items(context):
|
||||||
if context is None:
|
if context is None:
|
||||||
@@ -199,6 +200,7 @@ def geometry_instance_node_items(context):
|
|||||||
yield NodeItem("GeometryNodeInputInstanceRotation")
|
yield NodeItem("GeometryNodeInputInstanceRotation")
|
||||||
yield NodeItem("GeometryNodeInputInstanceScale")
|
yield NodeItem("GeometryNodeInputInstanceScale")
|
||||||
|
|
||||||
|
|
||||||
# Custom Menu for Material Nodes.
|
# Custom Menu for Material Nodes.
|
||||||
def geometry_material_node_items(context):
|
def geometry_material_node_items(context):
|
||||||
if context is None:
|
if context is None:
|
||||||
|
|||||||
@@ -3590,18 +3590,18 @@ static void sculpt_combine_proxies(Sculpt *sd, Object *ob)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* First line is tools that don't support proxies. */
|
/* First line is tools that don't support proxies. */
|
||||||
const bool use_orco = ELEM(brush->sculpt_tool,
|
const bool use_orco = ELEM(brush->sculpt_tool,
|
||||||
SCULPT_TOOL_GRAB,
|
SCULPT_TOOL_GRAB,
|
||||||
SCULPT_TOOL_ROTATE,
|
SCULPT_TOOL_ROTATE,
|
||||||
SCULPT_TOOL_THUMB,
|
SCULPT_TOOL_THUMB,
|
||||||
SCULPT_TOOL_ELASTIC_DEFORM,
|
SCULPT_TOOL_ELASTIC_DEFORM,
|
||||||
SCULPT_TOOL_BOUNDARY,
|
SCULPT_TOOL_BOUNDARY,
|
||||||
SCULPT_TOOL_POSE);
|
SCULPT_TOOL_POSE);
|
||||||
|
|
||||||
BKE_pbvh_gather_proxies(ss->pbvh, &nodes, &totnode);
|
BKE_pbvh_gather_proxies(ss->pbvh, &nodes, &totnode);
|
||||||
|
|
||||||
SculptThreadedTaskData data = {
|
SculptThreadedTaskData data = {
|
||||||
.sd = sd,
|
.sd = sd,
|
||||||
.ob = ob,
|
.ob = ob,
|
||||||
.brush = brush,
|
.brush = brush,
|
||||||
|
|||||||
Reference in New Issue
Block a user