Cleanup: format

This commit is contained in:
Campbell Barton 2022-08-23 22:55:05 +10:00
parent 65870821da
commit ffb6cc263f
5 changed files with 6 additions and 6 deletions

View File

@ -34,6 +34,7 @@ from bpy.app.translations import (
pgettext_iface as iface_,
)
class ImagePaintPanel:
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'

View File

@ -7,6 +7,7 @@ from bpy.app.translations import (
pgettext_iface as iface_,
)
class OUTLINER_HT_header(Header):
bl_space_type = 'OUTLINER'

View File

@ -19,7 +19,6 @@
#include "BLI_rand.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BLT_translation.h"
#include "PIL_time.h"

View File

@ -95,9 +95,7 @@ static Image *create_placeholder_image(Main *bmain, const std::string &path)
return image;
}
static Image *load_texture_image(Main *bmain,
const tex_map_XX &tex_map,
bool relative_paths)
static Image *load_texture_image(Main *bmain, const tex_map_XX &tex_map, bool relative_paths)
{
Image *image = nullptr;

View File

@ -61,8 +61,9 @@ static void sh_node_math_gather_link_searches(GatherLinkSearchOpParams &params)
ELEM(item->value, NODE_MATH_COMPARE, NODE_MATH_GREATER_THAN, NODE_MATH_LESS_THAN)) ?
-1 :
weight;
params.add_item(
CTX_IFACE_(BLT_I18NCONTEXT_ID_NODETREE, item->name), SocketSearchOp{"Value", (NodeMathOperation)item->value}, gn_weight);
params.add_item(CTX_IFACE_(BLT_I18NCONTEXT_ID_NODETREE, item->name),
SocketSearchOp{"Value", (NodeMathOperation)item->value},
gn_weight);
}
}
}