mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: format
This commit is contained in:
parent
ea182deeb9
commit
af6a68217f
2 changed files with 12 additions and 10 deletions
|
|
@ -182,6 +182,7 @@ def geometry_input_node_items(context):
|
|||
yield NodeItem("GeometryNodeInputRadius")
|
||||
yield NodeItem("GeometryNodeInputSceneTime")
|
||||
|
||||
|
||||
# Custom Menu for Geometry Node Instance Nodes.
|
||||
def geometry_instance_node_items(context):
|
||||
if context is None:
|
||||
|
|
@ -199,6 +200,7 @@ def geometry_instance_node_items(context):
|
|||
yield NodeItem("GeometryNodeInputInstanceRotation")
|
||||
yield NodeItem("GeometryNodeInputInstanceScale")
|
||||
|
||||
|
||||
# Custom Menu for Material Nodes.
|
||||
def geometry_material_node_items(context):
|
||||
if context is None:
|
||||
|
|
|
|||
|
|
@ -3590,18 +3590,18 @@ static void sculpt_combine_proxies(Sculpt *sd, Object *ob)
|
|||
return;
|
||||
}
|
||||
|
||||
/* First line is tools that don't support proxies. */
|
||||
const bool use_orco = ELEM(brush->sculpt_tool,
|
||||
SCULPT_TOOL_GRAB,
|
||||
SCULPT_TOOL_ROTATE,
|
||||
SCULPT_TOOL_THUMB,
|
||||
SCULPT_TOOL_ELASTIC_DEFORM,
|
||||
SCULPT_TOOL_BOUNDARY,
|
||||
SCULPT_TOOL_POSE);
|
||||
/* First line is tools that don't support proxies. */
|
||||
const bool use_orco = ELEM(brush->sculpt_tool,
|
||||
SCULPT_TOOL_GRAB,
|
||||
SCULPT_TOOL_ROTATE,
|
||||
SCULPT_TOOL_THUMB,
|
||||
SCULPT_TOOL_ELASTIC_DEFORM,
|
||||
SCULPT_TOOL_BOUNDARY,
|
||||
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,
|
||||
.ob = ob,
|
||||
.brush = brush,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue