[Bf-blender-cvs] [0dee238c8c5] master: Cleanup: remove duplicate doc-strings

Campbell Barton noreply at git.blender.org
Mon Dec 5 03:05:41 CET 2022


Commit: 0dee238c8c50da4ded09b260a6c52fae8f569eee
Author: Campbell Barton
Date:   Mon Dec 5 12:54:04 2022 +1100
Branches: master
https://developer.blender.org/rB0dee238c8c50da4ded09b260a6c52fae8f569eee

Cleanup: remove duplicate doc-strings

Duplicating doc-strings in both header & implementation
should be avoided as they often diverge & maintaining them is more work.

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

M	intern/ghost/intern/GHOST_C-api.cpp
M	source/blender/blenkernel/intern/pbvh_uv_islands.cc

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

diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp
index 0430dc8602c..bdeb6208b91 100644
--- a/intern/ghost/intern/GHOST_C-api.cpp
+++ b/intern/ghost/intern/GHOST_C-api.cpp
@@ -1199,9 +1199,6 @@ int GHOST_XrGetControllerModelData(GHOST_XrContextHandle xr_contexthandle,
 
 #ifdef WITH_VULKAN_BACKEND
 
-/**
- * Return vulkan handles for the given context.
- */
 void GHOST_GetVulkanHandles(GHOST_ContextHandle contexthandle,
                             void *r_instance,
                             void *r_physical_device,
@@ -1212,9 +1209,6 @@ void GHOST_GetVulkanHandles(GHOST_ContextHandle contexthandle,
   context->getVulkanHandles(r_instance, r_physical_device, r_device, r_graphic_queue_familly);
 }
 
-/**
- * Return vulkan backbuffer resources handles for the given window.
- */
 void GHOST_GetVulkanBackbuffer(GHOST_WindowHandle windowhandle,
                                void *image,
                                void *framebuffer,
@@ -1227,4 +1221,4 @@ void GHOST_GetVulkanBackbuffer(GHOST_WindowHandle windowhandle,
   window->getVulkanBackbuffer(image, framebuffer, command_buffer, render_pass, extent, fb_id);
 }
 
-#endif /* WITH_VULKAN */
\ No newline at end of file
+#endif /* WITH_VULKAN */
diff --git a/source/blender/blenkernel/intern/pbvh_uv_islands.cc b/source/blender/blenkernel/intern/pbvh_uv_islands.cc
index 7a06de4dad3..7ef403b8c47 100644
--- a/source/blender/blenkernel/intern/pbvh_uv_islands.cc
+++ b/source/blender/blenkernel/intern/pbvh_uv_islands.cc
@@ -1227,9 +1227,6 @@ const UVVertex *UVBorderEdge::get_uv_vertex(int index) const
   return edge->vertices[actual_index];
 }
 
-/**
- * Get the uv vertex from the primitive that is not part of the edge.
- */
 const UVVertex *UVBorderEdge::get_other_uv_vertex() const
 {
   return uv_primitive->get_other_uv_vertex(edge->vertices[0], edge->vertices[1]);



More information about the Bf-blender-cvs mailing list