Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2019-12-04 18:00:03 +0300
committerSebastian Parborg <darkdefende@gmail.com>2019-12-04 18:02:58 +0300
commit7868db9343d577784aa754418f2b888793a01d25 (patch)
tree56b4cb1d1ef6f813cc1881d50d2e26e89a8912ca /source/blender/makesdna/DNA_screen_types.h
parent824c2659382b2c76c3e6ec53ca598647af104446 (diff)
Make curve decimation only take into account the selected curve points
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index ec42e9bd04f..d3c5a707b44 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -382,6 +382,9 @@ typedef struct ARegion_Runtime {
*
* Lazy initialize, zero'd when unset, relative to #ARegion.winrct x/y min. */
rcti visible_rect;
+
+ /* The offset needed to not overlap with window scrollbars. Only used by HUD regions for now. */
+ int offset_x, offset_y;
} ARegion_Runtime;
typedef struct ARegion {