Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_gpencil.c
| Context not available. | |||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| RNA_def_property_ui_text(prop, "After Color", "Base color for ghosts after the active frame"); | RNA_def_property_ui_text(prop, "After Color", "Base color for ghosts after the active frame"); | ||||
| RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); | RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); | ||||
| /* dynamic smooth factor */ | |||||
| prop = RNA_def_property(srna, "smooth_drawfac", PROP_FLOAT, PROP_NONE); | |||||
| RNA_def_property_float_sdna(prop, NULL, "smooth_drawfac"); | |||||
| RNA_def_property_range(prop, 0.0, 2.0f); | |||||
| RNA_def_property_ui_text(prop, "Smooth", "Amount of smoothing to apply to newly created strokes, to reduce jitter/noise"); | |||||
aligorith: A better tooltip may be "Amount of smoothing to apply to newly created strokes, to reduce… | |||||
| RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); | |||||
| /* Subdivision level */ | |||||
| prop = RNA_def_property(srna, "subdivision", PROP_INT, PROP_NONE); | |||||
| RNA_def_property_int_sdna(prop, NULL, "sublevel"); | |||||
| RNA_def_property_range(prop, 0, 3); | |||||
| RNA_def_property_ui_text(prop, "Subdivide", "Number of times to subdivide newly created strokes, for less jagged strokes"); | |||||
Not Done Inline ActionsA better tooltip may be "Number of times to subdivide newly created strokes, for less jagged strokes" aligorith: A better tooltip may be "Number of times to subdivide newly created strokes, for less jagged… | |||||
| RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); | |||||
| /* Flags */ | /* Flags */ | ||||
| prop = RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_HIDE); | RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_HIDE); | ||||
| Context not available. | |||||
A better tooltip may be "Amount of smoothing to apply to newly created strokes, to reduce jitter/noise"