Cleanup: rename bmesh_queries -> bmesh_query
authorCampbell Barton <ideasman42@gmail.com>
Sat, 30 Jun 2018 08:29:40 +0000 (10:29 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 30 Jun 2018 08:32:21 +0000 (10:32 +0200)
Other files with the same purpose already used 'query'.

source/blender/bmesh/CMakeLists.txt
source/blender/bmesh/bmesh.h
source/blender/bmesh/intern/bmesh_query.c [moved from source/blender/bmesh/intern/bmesh_queries.c with 99% similarity]
source/blender/bmesh/intern/bmesh_query.h [moved from source/blender/bmesh/intern/bmesh_queries.h with 99% similarity]
source/blender/bmesh/intern/bmesh_query_inline.h [moved from source/blender/bmesh/intern/bmesh_queries_inline.h with 98% similarity]
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform.h

index 320bebc9958138f38742c5ec79435b21e0aa9eb9..bd3eb4cc1acc3a1c5cbe3e865442721beaf987ce 100644 (file)
@@ -119,9 +119,9 @@ set(SRC
        intern/bmesh_polygon_edgenet.c
        intern/bmesh_polygon_edgenet.h
        intern/bmesh_private.h
-       intern/bmesh_queries.c
-       intern/bmesh_queries.h
-       intern/bmesh_queries_inline.h
+       intern/bmesh_query.c
+       intern/bmesh_query.h
+       intern/bmesh_query_inline.h
        intern/bmesh_structure.c
        intern/bmesh_structure.h
        intern/bmesh_structure_inline.h
index b84a3d5e5598e9ec7d9745c752b46cee59a57e30..8b0b8a282f5e5a4cf603204482dd2cf8d2a131a6 100644 (file)
@@ -98,7 +98,7 @@
  *
  * These are accessible through the iterator api, which is covered later in this document
  *
- * See source/blender/bmesh/bmesh_queries.h for more misc. queries.
+ * See source/blender/bmesh/bmesh_query.h for more misc. queries.
  *
  *
  * \section bm_api The BMesh API
@@ -246,7 +246,7 @@ extern "C" {
 #include "intern/bmesh_operators.h"
 #include "intern/bmesh_polygon.h"
 #include "intern/bmesh_polygon_edgenet.h"
-#include "intern/bmesh_queries.h"
+#include "intern/bmesh_query.h"
 #include "intern/bmesh_walkers.h"
 
 #include "intern/bmesh_inline.h"
similarity index 99%
rename from source/blender/bmesh/intern/bmesh_queries.c
rename to source/blender/bmesh/intern/bmesh_query.c
index 5ce4b236d031315a280543c80b6ed316bdcef934..33ad7836893dc6a39b28372a7b8b67aaff5dd8aa 100644 (file)
@@ -20,7 +20,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-/** \file blender/bmesh/intern/bmesh_queries.c
+/** \file blender/bmesh/intern/bmesh_query.c
  *  \ingroup bmesh
  *
  * This file contains functions for answering common
similarity index 99%
rename from source/blender/bmesh/intern/bmesh_queries.h
rename to source/blender/bmesh/intern/bmesh_query.h
index e602c63da9481aa88758461d924b3a94dfd5b08c..cb3af88c31622030f83a41ab72319f01aacee2ce 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __BMESH_QUERIES_H__
 #define __BMESH_QUERIES_H__
 
-/** \file blender/bmesh/intern/bmesh_queries.h
+/** \file blender/bmesh/intern/bmesh_query.h
  *  \ingroup bmesh
  */
 
@@ -196,6 +196,6 @@ int   BM_mesh_calc_edge_groups(
 /* not really any good place  to put this */
 float bmesh_subd_falloff_calc(const int falloff, float val) ATTR_WARN_UNUSED_RESULT;
 
-#include "bmesh_queries_inline.h"
+#include "bmesh_query_inline.h"
 
 #endif /* __BMESH_QUERIES_H__ */
similarity index 98%
rename from source/blender/bmesh/intern/bmesh_queries_inline.h
rename to source/blender/bmesh/intern/bmesh_query_inline.h
index 09cf39b526d8287fc1e577889e7d10c0f6bb7a85..1bd77d23ded98b79cf5bf94bbba17d0c8b394311 100644 (file)
@@ -18,7 +18,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-/** \file blender/bmesh/intern/bmesh_queries_inline.h
+/** \file blender/bmesh/intern/bmesh_query_inline.h
  *  \ingroup bmesh
  */
 
index ac9b2f2900c88591fa6d624a5e291f2aba9a9d33..6fe20c359a8a501d27c1a8288cba2678b6a8a59c 100644 (file)
@@ -8616,7 +8616,7 @@ static void applyTimeScale(TransInfo *t, const int UNUSED(mval[2]))
 /** \} */
 
 
-/* TODO, move to: transform_queries.c */
+/* TODO, move to: transform_query.c */
 bool checkUseAxisMatrix(TransInfo *t)
 {
        /* currently only checks for editmode */
index b1b1dd36bf09fe6a0c3a67426ec00c6a8d904ccd..017bbfc8a5e966639c72a55cb9f7538c7212013f 100644 (file)
@@ -809,7 +809,7 @@ void freeVertSlideVerts(TransInfo *t, TransCustomData *custom_data);
 void projectVertSlideData(TransInfo *t, bool is_final);
 
 
-/* TODO. transform_queries.c */
+/* TODO. transform_query.c */
 bool checkUseAxisMatrix(TransInfo *t);
 
 #define TRANSFORM_DIST_MAX_PX 1000.0f