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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-01 01:30:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-01 01:30:24 +0400
commitd25ba1eccdc7043c8f470991683dbc3cef93156e (patch)
treedf831e4e8262879ccb986248fddef6bf275bde1b /source/blender/makesrna/intern/rna_scene.c
parent42fca2f145b81d8b359164f17341bfc111360f22 (diff)
Changes to openmp threads commit (UI and RNA)
- use same names as render threads - remove OpenMP from UI - remove details from tips
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index b374e9552be..d15e9dc3441 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5096,8 +5096,8 @@ void RNA_def_scene(BlenderRNA *brna)
};
static EnumPropertyItem omp_threads_mode_items[] = {
- {SCE_OMP_AUTO, "AUTO", 0, "Auto-detect", "Automatically determine the number of threads, based on CPUs"},
- {SCE_OMP_MANUAL, "MANUAL", 0, "Manual", "Manually determine the number of threads"},
+ {SCE_OMP_AUTO, "AUTO", 0, "Auto-detect", "Automatically determine the number of threads"},
+ {SCE_OMP_FIXED, "FIXED", 0, "Fixed", "Manually determine the number of threads"},
{0, NULL, 0, NULL, NULL}
};
@@ -5463,14 +5463,13 @@ void RNA_def_scene(BlenderRNA *brna)
RNA_def_property_struct_type(prop, "ColorManagedSequencerColorspaceSettings");
RNA_def_property_ui_text(prop, "Sequencer Color Space Settings", "Settings of color space sequencer is working in");
- prop = RNA_def_property(srna, "omp_num_threads", PROP_INT, PROP_NONE);
+ prop = RNA_def_property(srna, "omp_threads", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 1, BLENDER_MAX_THREADS);
RNA_def_property_int_funcs(prop, "rna_omp_threads_get", NULL, NULL);
RNA_def_property_ui_text(prop, "OpenMP Threads",
- "Number of CPU threads to use simultaneously for openmp"
- "(for multi-core/CPU systems)");
+ "Number of CPU threads to use for openmp");
- prop = RNA_def_property(srna, "omp_mode", PROP_ENUM, PROP_NONE);
+ prop = RNA_def_property(srna, "omp_threads_mode", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, omp_threads_mode_items);
RNA_def_property_ui_text(prop, "OpenMP Mode", "Determine the amount of openmp threads used");