I18n disambiguation: setting particles' parent/children appart.
Looks like in some languages common generic parent/child relationship does notn apply well to those. Part of T43295.
This commit is contained in:
parent
1b753acd89
commit
b2a8019f16
|
@ -21,6 +21,7 @@ import bpy
|
|||
from bpy.types import Panel, Menu
|
||||
from rna_prop_ui import PropertyPanel
|
||||
from bpy.app.translations import pgettext_iface as iface_
|
||||
from bpy.app.translations import contexts as i18n_contexts
|
||||
from bl_ui.utils import PresetPanel
|
||||
|
||||
from .properties_physics_common import (
|
||||
|
@ -1562,6 +1563,7 @@ class PARTICLE_PT_draw(ParticleButtonsPanel, Panel):
|
|||
|
||||
class PARTICLE_PT_children(ParticleButtonsPanel, Panel):
|
||||
bl_label = "Children"
|
||||
bl_translation_context = i18n_contexts.id_particlesettings
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
|
|
|
@ -3193,6 +3193,7 @@ static void rna_def_modifier_particleinstance(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "use_children", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", eParticleInstanceFlag_Children);
|
||||
RNA_def_property_ui_text(prop, "Children", "Create instances from child particles");
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_PARTICLESETTINGS);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_path", PROP_BOOLEAN, PROP_NONE);
|
||||
|
|
Loading…
Reference in New Issue