Added debug mode constants in bge.constraints #27909

Closed
opened 2011-07-08 19:03:23 +02:00 by Solano Felício · 12 comments

%%%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)%%%

%%%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'

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?%%%

%%%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.%%%

%%%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.%%%

%%%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).%%%

%%%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.%%%

%%%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)%%%

%%%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%%%

%%%Updated patch. See constants_updated.patch%%%

%%%Finnaly documented the createConstraint function: see constants_updated2.patch%%%

%%%Finnaly documented the createConstraint function: see constants_updated2.patch%%%

%%%Transformed tasks (with #) in comments. See constants_updated3.patch%%%

%%%Transformed tasks (with #) in comments. See constants_updated3.patch%%%

%%%committed (with changes) on rev. 38860
Thanks Solano :)%%%

%%%committed (with changes) on rev. 38860 Thanks Solano :)%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#27909
No description provided.