diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-18 23:01:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-18 23:01:35 +0300 |
commit | ae5a814f26e78dd65557773b5c00c341cdca1947 (patch) | |
tree | c605eed391e60b097820b501e588309d517acf07 /source/blender/editors/space_sequencer | |
parent | 5f6b9fd324162358ac482b151bc034e0006d6734 (diff) |
ID properties that are displayed via RNA can now define their own UI settings,
only implimented min/max precision & step.
at the moment there is no way to edit these other then via python
example of setting UI limits...
>>> C.object['foo'] = 0.5
>>> C.object['_RNA_UI'] = {'foo': {'step': 0.5, 'soft_max': 10.0, 'soft_min': 0.0, 'precision': 2, 'description': 'Some setting'}}
Also fixed typo's: precission -> precision
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 80c1ed2fe95..56c9165c6a1 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -525,7 +525,7 @@ static void draw_shadedstrip(Sequence *seq, char *col, float x1, float y1, float /* Draw a sequence strip, bounds check alredy made ARegion is currently only used to get the windows width in pixels -so wave file sample drawing precission is zoom adjusted +so wave file sample drawing precision is zoom adjusted */ static void draw_seq_strip(Scene *scene, ARegion *ar, SpaceSeq *sseq, Sequence *seq, int outline_tint, float pixelx) { |