[Bf-blender-cvs] [c5f7486] temp_manipulators_core: Cleanup: Comments

Julian Eisel noreply at git.blender.org
Thu Oct 6 21:35:20 CEST 2016


Commit: c5f7486d4fa7b13a50520f496535ede98d017948
Author: Julian Eisel
Date:   Thu Oct 6 19:51:22 2016 +0200
Branches: temp_manipulators_core
https://developer.blender.org/rBc5f7486d4fa7b13a50520f496535ede98d017948

Cleanup: Comments

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

M	source/blender/blenkernel/BKE_screen.h
M	source/blender/editors/space_api/spacetypes.c
M	source/blender/makesdna/DNA_screen_types.h
M	source/blender/windowmanager/manipulators/WM_manipulator_types.h
M	source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c

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

diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h
index 2e42cfc..010810a 100644
--- a/source/blender/blenkernel/BKE_screen.h
+++ b/source/blender/blenkernel/BKE_screen.h
@@ -97,7 +97,7 @@ typedef struct SpaceType {
 	/* on startup, define dropboxes for spacetype+regions */
 	void (*dropboxes)(void);
 
-	/* on startup, initialize manipulator-map-types and manipulator-group-types */
+	/* initialize manipulator-map-types and manipulator-group-types with the region */
 	void (*manipulators)(void);
 
 	/* return context data */
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index 597c724..5ff1d75 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -125,7 +125,7 @@ void ED_spacetypes_init(void)
 	/* register types for operators and manipulators */
 	spacetypes = BKE_spacetypes_list();
 	for (type = spacetypes->first; type; type = type->next) {
-		/* init manipulator types first, operator types need them */
+		/* init manipulator types first, operator-types need them */
 		if (type->manipulators) {
 			type->manipulators();
 		}
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 9ac1852..2efb9d1 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -266,7 +266,7 @@ typedef struct ARegion {
 	ListBase handlers;			/* wmEventHandler */
 	ListBase panels_category;	/* Panel categories runtime */
 
-	struct wmManipulatorMap *manipulator_map; /* manipulator map of this region */
+	struct wmManipulatorMap *manipulator_map; /* manipulator-map of this region */
 	struct wmTimer *regiontimer; /* blend in/out */
 
 	char *headerstr;			/* use this string to draw info */
diff --git a/source/blender/windowmanager/manipulators/WM_manipulator_types.h b/source/blender/windowmanager/manipulators/WM_manipulator_types.h
index 67da0ce..284a3e9 100644
--- a/source/blender/windowmanager/manipulators/WM_manipulator_types.h
+++ b/source/blender/windowmanager/manipulators/WM_manipulator_types.h
@@ -63,7 +63,7 @@ typedef struct wmManipulatorWrapper {
 enum {
 	WM_MANIPULATOR_DRAW_HOVER  = (1 << 0), /* draw *only* while hovering */
 	WM_MANIPULATOR_DRAW_ACTIVE = (1 << 1), /* draw while dragging */
-	WM_MANIPULATOR_DRAW_VALUE  = (1 << 2), /* draw a indicator for the current value while dragging */
+	WM_MANIPULATOR_DRAW_VALUE  = (1 << 2), /* draw an indicator for the current value while dragging */
 	WM_MANIPULATOR_HIDDEN      = (1 << 3),
 };
 
@@ -151,7 +151,7 @@ struct wmManipulatorMapType_Params {
 };
 
 /**
- * Pass a value of this enum to #WM_manipulatormap_update to tell it what to draw.
+ * Pass a value of this enum to #WM_manipulatormap_draw to tell it what to draw.
  */
 enum {
 	/* Draw 2D manipulator-groups (ManipulatorGroupType.is_3d == false) */
diff --git a/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c b/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
index 0756d5e..37a3ca8 100644
--- a/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
+++ b/source/blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
@@ -26,10 +26,10 @@
 /** \file blender/windowmanager/manipulators/intern/wm_manipulatorgroup.c
  *  \ingroup wm
  *
- * \name Manipulator Group
+ * \name Manipulator-Group
  *
  * Manipulator-groups store and manage groups of manipulators. They can be
- * attached to modal handlers and have on keymaps.
+ * attached to modal handlers and have own keymaps.
  */
 
 #include "BKE_context.h"




More information about the Bf-blender-cvs mailing list