Style: Apply clang-format (5.0) to some missed files

This commit is contained in:
Rémi Verschelde 2018-05-31 08:58:37 +02:00
parent e823a366d0
commit 43b7ebf0a0
7 changed files with 35 additions and 39 deletions

View File

@ -1303,7 +1303,6 @@ Transform2D RasterizerStorageGLES2::skeleton_bone_get_transform_2d(RID p_skeleto
}
void RasterizerStorageGLES2::skeleton_set_base_transform_2d(RID p_skeleton, const Transform2D &p_base_transform) {
}
void RasterizerStorageGLES2::update_dirty_skeletons() {

View File

@ -30,8 +30,8 @@
#include "register_types.h"
#include "csg_shape.h"
#include "csg_gizmos.h"
#include "csg_shape.h"
void register_csg_types() {
@ -51,9 +51,7 @@ void register_csg_types() {
EditorPlugins::add_by_type<EditorPluginCSG>();
#endif
#endif
}
void unregister_csg_types() {
}

View File

@ -121,7 +121,6 @@ void Bone2D::apply_rest() {
void Bone2D::set_default_length(float p_length) {
default_length = p_length;
}
float Bone2D::get_default_length() const {
@ -152,7 +151,6 @@ String Bone2D::get_configuration_warning() const {
warning += "\n";
}
warning += TTR("This bone lacks a proper REST pose. Go to the Skeleton2D node and set one.");
}
return warning;

View File

@ -38,12 +38,13 @@ class Skeleton2D;
class Bone2D : public Node2D {
GDCLASS(Bone2D, Node2D)
friend class Skeleton2D;
Bone2D *parent_bone;
Skeleton2D *skeleton;
Transform2D rest;
float default_length;
friend class Skeleton2D;
int skeleton_index;
protected: