Cleanup: make format
This commit is contained in:
parent
39a3d312c1
commit
44619eaa32
@ -23,6 +23,7 @@ from bpy.props import (
|
||||
)
|
||||
from bpy.app.translations import pgettext_data as data_
|
||||
|
||||
|
||||
def _check_axis_conversion(op):
|
||||
if hasattr(op, "axis_forward") and hasattr(op, "axis_up"):
|
||||
return axis_conversion_ensure(
|
||||
|
@ -859,7 +859,8 @@ class TextureFromPool : public Texture, NonMovable {
|
||||
* Dummy type to bind texture as image.
|
||||
* It is just a GPUTexture in disguise.
|
||||
*/
|
||||
class Image {};
|
||||
class Image {
|
||||
};
|
||||
|
||||
static inline Image *as_image(GPUTexture *tex)
|
||||
{
|
||||
|
@ -4169,7 +4169,6 @@ static int gpencil_stroke_outline_exec(bContext *C, wmOperator *op)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (changed) {
|
||||
/* notifiers */
|
||||
DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
|
||||
|
@ -111,7 +111,7 @@ void node_operatortypes()
|
||||
WM_operatortype_append(NODE_OT_cryptomatte_layer_remove);
|
||||
}
|
||||
|
||||
void node_keymap( wmKeyConfig *keyconf)
|
||||
void node_keymap(wmKeyConfig *keyconf)
|
||||
{
|
||||
/* Entire Editor only ----------------- */
|
||||
WM_keymap_ensure(keyconf, "Node Generic", SPACE_NODE, 0);
|
||||
|
@ -199,7 +199,8 @@ static std::ostream &operator<<(std::ostream &stream, const GPUOutput *output)
|
||||
}
|
||||
|
||||
/* Trick type to change overload and keep a somewhat nice syntax. */
|
||||
struct GPUConstant : public GPUInput {};
|
||||
struct GPUConstant : public GPUInput {
|
||||
};
|
||||
|
||||
/* Print data constructor (i.e: vec2(1.0f, 1.0f)). */
|
||||
static std::ostream &operator<<(std::ostream &stream, const GPUConstant *input)
|
||||
|
Loading…
x
Reference in New Issue
Block a user