[Bf-blender-cvs] [e12963481b1] temp-graph-select-changes: Minor cleanup (style, comments)

Julian Eisel noreply at git.blender.org
Tue Nov 12 17:06:51 CET 2019


Commit: e12963481b178487f7ad2b452ee85ea9f0122da8
Author: Julian Eisel
Date:   Tue Nov 12 17:06:16 2019 +0100
Branches: temp-graph-select-changes
https://developer.blender.org/rBe12963481b178487f7ad2b452ee85ea9f0122da8

Minor cleanup (style, comments)

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

M	source/blender/makesdna/DNA_curve_types.h
M	source/blender/makesdna/DNA_space_types.h

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

diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 51a1f96d11f..13eaa8925bc 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -1,4 +1,4 @@
-/*
+/*
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 2017f9acd4b..92ee50ab8e7 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -484,6 +484,10 @@ typedef enum eGraphEdit_Runtime_Flag {
   /** Temporary flag to force fcurves to recalculate colors. */
   SIPO_RUNTIME_FLAG_NEED_CHAN_SYNC_COLOR = (1 << 1),
 
+  /**
+   * These flags are for the mouse-select code to communicate with the transform code. Click
+   * dragging (tweaking) a handle sets the according left/right flag which transform code uses then
+   * to limit translation to this side. */
   SIPO_RUNTIME_FLAG_TWEAK_HANDLES_LEFT = (1 << 2),
   SIPO_RUNTIME_FLAG_TWEAK_HANDLES_RIGHT = (1 << 3),
 } eGraphEdit_Runtime_Flag;



More information about the Bf-blender-cvs mailing list