From 1e846709d359b66bdcb2bc45a134117a00dee291 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 17 Aug 2019 13:49:47 +0200 Subject: [PATCH] Add various @since tags to methods that are new in 1.10.4 --- panda/src/pgraph/nodePath.cxx | 2 ++ panda/src/pgraph/pythonLoaderFileType.h | 2 ++ panda/src/pgraph/textureAttrib.cxx | 2 ++ 3 files changed, 6 insertions(+) diff --git a/panda/src/pgraph/nodePath.cxx b/panda/src/pgraph/nodePath.cxx index 1243fed956..1748942679 100644 --- a/panda/src/pgraph/nodePath.cxx +++ b/panda/src/pgraph/nodePath.cxx @@ -3139,6 +3139,8 @@ get_texture(TextureStage *stage) const { /** * Recursively searches the scene graph for references to the given texture, * and replaces them with the new texture. + * + * @since 1.10.4 */ void NodePath:: replace_texture(Texture *tex, Texture *new_tex) { diff --git a/panda/src/pgraph/pythonLoaderFileType.h b/panda/src/pgraph/pythonLoaderFileType.h index 10dc27055b..6a436d4752 100644 --- a/panda/src/pgraph/pythonLoaderFileType.h +++ b/panda/src/pgraph/pythonLoaderFileType.h @@ -24,6 +24,8 @@ * This defines a Python-based loader plug-in. An instance of this can be * constructed by inheritance and explicitly registered, or it can be created * by passing in a pkg_resources.EntryPoint instance. + * + * @since 1.10.4 */ class PythonLoaderFileType : public LoaderFileType { public: diff --git a/panda/src/pgraph/textureAttrib.cxx b/panda/src/pgraph/textureAttrib.cxx index ff78fc2780..0184f1825c 100644 --- a/panda/src/pgraph/textureAttrib.cxx +++ b/panda/src/pgraph/textureAttrib.cxx @@ -240,6 +240,8 @@ unify_texture_stages(TextureStage *stage) const { /** * Returns a new TextureAttrib, just like this one, but with all references to * the given texture replaced with the new texture. + * + * @since 1.10.4 */ CPT(RenderAttrib) TextureAttrib:: replace_texture(Texture *tex, Texture *new_tex) const {