From ae5a814f26e78dd65557773b5c00c341cdca1947 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 18 Nov 2009 20:01:35 +0000 Subject: 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 --- source/blender/imbuf/intern/jp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf/intern/jp2.c') diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index 2583a155d6a..a6591adfff1 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -91,7 +91,7 @@ void info_callback(const char *msg, void *client_data) { struct ImBuf *imb_jp2_decode(unsigned char *mem, int size, int flags) { struct ImBuf *ibuf = 0; - int use_float = 0; /* for precissions higher then 8 use float */ + int use_float = 0; /* for precision higher then 8 use float */ unsigned char *rect= NULL; float *rect_float= NULL; -- cgit v1.2.3