[Bf-blender-cvs] [3159f14daa7] custom-manipulators: Rename py API files

Campbell Barton noreply at git.blender.org
Wed Jun 7 16:19:09 CEST 2017


Commit: 3159f14daa727facf95dee4ad69cdef62c25e296
Author: Campbell Barton
Date:   Thu Jun 8 00:19:50 2017 +1000
Branches: custom-manipulators
https://developer.blender.org/rB3159f14daa727facf95dee4ad69cdef62c25e296

Rename py API files

Will use for manipulator and manipulatorgroup.

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

M	source/blender/python/intern/CMakeLists.txt
R095	source/blender/python/intern/bpy_manipulatorgroup_wrap.c	source/blender/python/intern/bpy_manipulator_wrap.c
R084	source/blender/python/intern/bpy_manipulatorgroup_wrap.h	source/blender/python/intern/bpy_manipulator_wrap.h

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

diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt
index 5f283cf7ae2..ddd1c53c671 100644
--- a/source/blender/python/intern/CMakeLists.txt
+++ b/source/blender/python/intern/CMakeLists.txt
@@ -65,7 +65,7 @@ set(SRC
 	bpy_intern_string.c
 	bpy_library_load.c
 	bpy_library_write.c
-	bpy_manipulatorgroup_wrap.c
+	bpy_manipulator_wrap.c
 	bpy_operator.c
 	bpy_operator_wrap.c
 	bpy_path.c
@@ -98,7 +98,7 @@ set(SRC
 	bpy_driver.h
 	bpy_intern_string.h
 	bpy_library.h
-	bpy_manipulatorgroup_wrap.h
+	bpy_manipulator_wrap.h
 	bpy_operator.h
 	bpy_operator_wrap.h
 	bpy_path.h
diff --git a/source/blender/python/intern/bpy_manipulatorgroup_wrap.c b/source/blender/python/intern/bpy_manipulator_wrap.c
similarity index 95%
rename from source/blender/python/intern/bpy_manipulatorgroup_wrap.c
rename to source/blender/python/intern/bpy_manipulator_wrap.c
index bbdcd454a3a..fcdee504758 100644
--- a/source/blender/python/intern/bpy_manipulatorgroup_wrap.c
+++ b/source/blender/python/intern/bpy_manipulator_wrap.c
@@ -18,7 +18,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-/** \file blender/python/intern/bpy_manipulatorgroup_wrap.c
+/** \file blender/python/intern/bpy_manipulator_wrap.c
  *  \ingroup pythonintern
  *
  * This file is so Python can define widget-group's that C can call into.
@@ -42,7 +42,7 @@
 
 #include "bpy_rna.h"
 #include "bpy_intern_string.h"
-#include "bpy_manipulatorgroup_wrap.h"  /* own include */
+#include "bpy_manipulator_wrap.h"  /* own include */
 
 /* we may want to add, but not now */
 // #define USE_SRNA
diff --git a/source/blender/python/intern/bpy_manipulatorgroup_wrap.h b/source/blender/python/intern/bpy_manipulator_wrap.h
similarity index 84%
rename from source/blender/python/intern/bpy_manipulatorgroup_wrap.h
rename to source/blender/python/intern/bpy_manipulator_wrap.h
index 548c84bd1e4..22401a651cf 100644
--- a/source/blender/python/intern/bpy_manipulatorgroup_wrap.h
+++ b/source/blender/python/intern/bpy_manipulator_wrap.h
@@ -18,17 +18,17 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-/** \file blender/python/intern/bpy_manipulatorgroup_wrap.h
+/** \file blender/python/intern/bpy_manipulator_wrap.h
  *  \ingroup pythonintern
  */
 
-#ifndef __BPY_MANIPULATORGROUP_WRAP_H__
-#define __BPY_MANIPULATORGROUP_WRAP_H__
+#ifndef __BPY_MANIPULATOR_WRAP_H__
+#define __BPY_MANIPULATOR_WRAP_H__
 
 struct wmManipulatorGroupType;
 
 /* exposed to rna/wm api */
 void manipulatorgroup_wrapper(struct wmManipulatorGroupType *mgrouptype, void *userdata);
 
-#endif  /* __BPY_MANIPULATORGROUP_WRAP_H__ */
+#endif  /* __BPY_MANIPULATOR_WRAP_H__ */




More information about the Bf-blender-cvs mailing list