Added debug mode constants in bge.constraints #27909
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#27909
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
%%%I've added debug mode constants in the bge.constraints module (somehow, it works (: ) and its documentation. As I did in my last patch, comments about what I'm not sure in the documentation are marked with a '#'.
Example of usage:
setDebugMode(bge.constraints.DBG_NoDebug)
instead of
setDebugMode(0)
(Sorry for my bad English)%%%
Changed status to: 'Open'
%%%Hi Solano, great work. One small thing: In the API constants are all capitalized (e.g. instead of BGE_NoDebug it should be: DBG_NODEBUG)
@Campbell, any suggestion in the prefix? or DBG_ is good?%%%
%%%Updated patch and added constants for the constraint types.%%%
%%%Hi Solano (or Campbell), do you know if it's possible to link the createConstraint entry with those constaints?
since they are not part of any "group" (e.g. :class:) I wonder if this is possible at all.%%%
%%%AABB = Axis Aligned Bounding Box
CCD = (Most likely in this case) continuous collision detection.
Also, it looks like when you first list the attributes that you forgot to change the case (they are still camel case as opposed to all caps).%%%
%%%In dbg_mode_and_constraint_type_consts.patch they are all capitalized.%%%
%%%one idea is to link the individual attributes in the createConstraints() description.
or to use the :data:'text...' field instead of the attributes (I'm not sure what's the difference)%%%
%%%Updated patch. See constants_updated.patch%%%
%%%Finnaly documented the createConstraint function: see constants_updated2.patch%%%
%%%Transformed tasks (with #) in comments. See constants_updated3.patch%%%
%%%committed (with changes) on rev. 38860
Thanks Solano :)%%%
Changed status from 'Open' to: 'Archived'