浏览代码

Fix names of enum values in docstring of aiProcess_FindDegenerates (#5640)

Co-authored-by: Kim Kulling <[email protected]>
Markus Prettner 1 年之前
父节点
当前提交
7e053cc641

+ 1 - 1
include/assimp/postprocess.h

@@ -379,7 +379,7 @@ enum aiPostProcessSteps
      *     point primitives to separate meshes.
      *   </li>
      *   <li>Set the <tt>#AI_CONFIG_PP_SBP_REMOVE</tt> importer property to
-     *       @code aiPrimitiveType_POINTS | aiPrimitiveType_LINES
+     *       @code aiPrimitiveType_POINT | aiPrimitiveType_LINE
      *       @endcode to cause SortByPType to reject point
      *       and line meshes from the scene.
      *   </li>

+ 1 - 1
port/PyAssimp/pyassimp/postprocess.py

@@ -270,7 +270,7 @@ aiProcess_SortByPType = 0x8000
 #     point primitives to separate meshes.
 #   <li>
 #   <li>Set the <tt>AI_CONFIG_PP_SBP_REMOVE<tt> option to 
-#       @code aiPrimitiveType_POINTS | aiPrimitiveType_LINES
+#       @code aiPrimitiveType_POINT | aiPrimitiveType_LINE
 #       @endcode to cause SortByPType to reject point
 #       and line meshes from the scene.
 #   <li>

+ 1 - 1
port/dAssimp/assimp/postprocess.d

@@ -348,7 +348,7 @@ extern ( C ) {
        *   <li>Specify the <code>SortByPType</code> flag. This moves line and
        *      point primitives to separate meshes.</li>
        *   <li>Set the <code>AI_CONFIG_PP_SBP_REMOVE</codet> option to
-       *      <code>aiPrimitiveType_POINTS | aiPrimitiveType_LINES</code>
+       *      <code>aiPrimitiveType_POINT | aiPrimitiveType_LINE</code>
        *      to cause SortByPType to reject point and line meshes from the
        *      scene.</li>
        * </ul>

+ 1 - 1
port/jassimp/jassimp/src/jassimp/AiPostProcessSteps.java

@@ -349,7 +349,7 @@ public enum AiPostProcessSteps {
      *   <li>Specify the #SortByPType flag. This moves line and point 
      *       primitives to separate meshes.
      *   <li>Set the <tt>AI_CONFIG_PP_SBP_REMOVE</tt> option to
-     *       <code>aiPrimitiveType_POINTS | aiPrimitiveType_LINES</code>
+     *       <code>aiPrimitiveType_POINT | aiPrimitiveType_LINE</code>
      *       to cause SortByPType to reject point and line meshes from the 
      *       scene.
      * </ul>