[Bf-blender-cvs] [e223de3] alembic_pointcache: RNA function for defining point cache API.

Lukas Tönne noreply at git.blender.org
Thu Oct 16 16:52:30 CEST 2014


Commit: e223de3f37a2d2396c5b09640766d598b443cfb3
Author: Lukas Tönne
Date:   Wed Oct 2 10:22:20 2013 +0200
Branches: alembic_pointcache
https://developer.blender.org/rBe223de3f37a2d2396c5b09640766d598b443cfb3

RNA function for defining point cache API.

===================================================================

M	source/blender/makesrna/intern/CMakeLists.txt
M	source/blender/makesrna/intern/makesrna.c
M	source/blender/makesrna/intern/rna_internal.h
A	source/blender/makesrna/intern/rna_pointcache.c

===================================================================

diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index 3ae4c3d..9075c0c 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -70,6 +70,7 @@ set(DEFSRC
 	rna_object_force.c
 	rna_packedfile.c
 	rna_particle.c
+	rna_pointcache.c
 	rna_pose.c
 	rna_property.c
 	rna_render.c
@@ -272,6 +273,7 @@ blender_include_dirs(
 	../../ikplugin
 	../../makesdna
 	../../nodes/
+	../../pointcache/
 	../../windowmanager
 	../../editors/include
 	../../render/extern/include
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index 1cb9eb8..08a25d0 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -3265,6 +3265,7 @@ static RNAProcessItem PROCESS_ITEMS[] = {
 	{"rna_object_force.c", NULL, RNA_def_object_force},
 	{"rna_packedfile.c", NULL, RNA_def_packedfile},
 	{"rna_particle.c", NULL, RNA_def_particle},
+	{"rna_pointcache.c", NULL, RNA_def_pointcache},
 	{"rna_pose.c", "rna_pose_api.c", RNA_def_pose},
 	{"rna_property.c", NULL, RNA_def_gameproperty},
 	{"rna_render.c", NULL, RNA_def_render},
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h
index 807fad4..c4dd60d 100644
--- a/source/blender/makesrna/intern/rna_internal.h
+++ b/source/blender/makesrna/intern/rna_internal.h
@@ -165,6 +165,7 @@ void RNA_def_object(struct BlenderRNA *brna);
 void RNA_def_object_force(struct BlenderRNA *brna);
 void RNA_def_packedfile(struct BlenderRNA *brna);
 void RNA_def_particle(struct BlenderRNA *brna);
+void RNA_def_pointcache(struct BlenderRNA *brna);
 void RNA_def_pose(struct BlenderRNA *brna);
 void RNA_def_render(struct BlenderRNA *brna);
 void RNA_def_rigidbody(struct BlenderRNA *brna);
diff --git a/source/blender/makesrna/intern/rna_pointcache.c b/source/blender/makesrna/intern/rna_pointcache.c
new file mode 100644
index 0000000..38cfd08
--- /dev/null
+++ b/source/blender/makesrna/intern/rna_pointcache.c
@@ -0,0 +1,51 @@
+/*
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Contributor(s): Blender Foundation,
+ *                 Sergey Sharybin
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+/** \file blender/makesrna/intern/rna_pointcache.c
+ *  \ingroup RNA
+ */
+
+#include "RNA_define.h"
+
+#include "rna_internal.h"
+
+#include "PTC_api.h"
+
+#ifdef RNA_RUNTIME
+
+
+#else
+
+static void rna_def_pointcache(BlenderRNA *brna)
+{
+	StructRNA *srna;
+	PropertyRNA *prop;
+
+}
+
+void RNA_def_pointcache(BlenderRNA *brna)
+{
+	rna_def_pointcache(brna);
+}
+
+#endif




More information about the Bf-blender-cvs mailing list