X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Flayer.h;h=51a47a0b2b9985b5488cf559d71b4db087c72e30;hb=95e671c091f35812d7c83559c595ebfd3ce45cb4;hp=87e91a1462ecdf7195360fe4e97eab8f2cf8f88e;hpb=0dc2de4f87949f84f6dbc7a0310cce32eca375a4;p=synfig.git diff --git a/synfig-core/src/synfig/layer.h b/synfig-core/src/synfig/layer.h index 87e91a1..51a47a0 100644 --- a/synfig-core/src/synfig/layer.h +++ b/synfig-core/src/synfig/layer.h @@ -270,10 +270,10 @@ private: String description_; //! The depth parameter of the layer in the layer stack - float z_depth_; + float z_depth; //! True if zdepth is not affected when in animation mode - bool z_depth__static; + bool z_depth_static; //! \writeme mutable Time dirty_time_; @@ -393,13 +393,13 @@ public: int get_depth()const; //! Gets the non animated z depth of the layer - float get_z_depth()const { return z_depth_; } + float get_z_depth()const { return z_depth; } //! Gets the z depth of the layer at a time t float get_z_depth(const synfig::Time& t)const; //! Sets the z depth of the layer (non animated) - void set_z_depth(float x) { z_depth_=x; } + void set_z_depth(float x) { z_depth=x; } //! Sets the Canvas that this Layer is a part of void set_canvas(etl::loose_handle canvas);