Cleanup: format
This commit is contained in:
parent
65870821da
commit
ffb6cc263f
|
@ -34,6 +34,7 @@ from bpy.app.translations import (
|
|||
pgettext_iface as iface_,
|
||||
)
|
||||
|
||||
|
||||
class ImagePaintPanel:
|
||||
bl_space_type = 'IMAGE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
|
|
|
@ -7,6 +7,7 @@ from bpy.app.translations import (
|
|||
pgettext_iface as iface_,
|
||||
)
|
||||
|
||||
|
||||
class OUTLINER_HT_header(Header):
|
||||
bl_space_type = 'OUTLINER'
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include "BLI_rand.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -61,8 +61,9 @@ static void sh_node_math_gather_link_searches(GatherLinkSearchOpParams ¶ms)
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue