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:
authorDalai Felinto <dfelinto@gmail.com>2017-06-15 16:02:32 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-06-15 16:02:32 +0300
commit60a36f202837037b6f6d31d4d067ec783f53d0ba (patch)
tree1f2960815c916a208fb8da1c596e675de7878406 /source/blender/makesrna/intern/rna_lightprobe.c
parent32cd8ac71065857ef5f638c4840d3422be531a9e (diff)
Eevee: Use PROP_NONE for probe grid resolution
It makes no sense to use PROP_PIXEL as unit here.
Diffstat (limited to 'source/blender/makesrna/intern/rna_lightprobe.c')
-rw-r--r--source/blender/makesrna/intern/rna_lightprobe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_lightprobe.c b/source/blender/makesrna/intern/rna_lightprobe.c
index 50a7dd57e84..93a57d0ea57 100644
--- a/source/blender/makesrna/intern/rna_lightprobe.c
+++ b/source/blender/makesrna/intern/rna_lightprobe.c
@@ -147,17 +147,17 @@ static void rna_def_lightprobe(BlenderRNA *brna)
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, NULL);
/* irradiance grid */
- prop = RNA_def_property(srna, "grid_resolution_x", PROP_INT, PROP_PIXEL);
+ prop = RNA_def_property(srna, "grid_resolution_x", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution X", "Number of sample along the x axis of the volume");
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");
- prop = RNA_def_property(srna, "grid_resolution_y", PROP_INT, PROP_PIXEL);
+ prop = RNA_def_property(srna, "grid_resolution_y", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution Y", "Number of sample along the y axis of the volume");
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");
- prop = RNA_def_property(srna, "grid_resolution_z", PROP_INT, PROP_PIXEL);
+ prop = RNA_def_property(srna, "grid_resolution_z", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 1, 256);
RNA_def_property_ui_text(prop, "Resolution Z", "Number of sample along the z axis of the volume");
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");