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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-31 21:49:47 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-31 21:49:47 +0300
commit8c2a978b03f71e759908da0a360b4c7eed329597 (patch)
tree0e2ff051db7e77e385710296c584df7d14bcc95a
parent27d799698d5af604c87e792c519df463cd6c33ff (diff)
UI: rename Free Bake to Delete Bake.
"Free" is more of a programming term related to memory allocation, not a term we need to use in the interface. Ref T61054.
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_common.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py2
-rw-r--r--source/blender/editors/physics/physics_pointcache.c8
-rw-r--r--source/blender/editors/render/render_shading.c4
6 files changed, 11 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 23bba83271b..36deb55978f 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -737,7 +737,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
layout.separator()
if md.is_cached:
- layout.operator("object.ocean_bake", text="Free Bake").free = True
+ layout.operator("object.ocean_bake", text="Delete Bake").free = True
else:
layout.operator("object.ocean_bake").free = False
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 97767888e43..55b891c55f5 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -221,7 +221,7 @@ class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
split = layout.split()
if part.type == 'HAIR':
if psys is not None and psys.is_edited:
- split.operator("particle.edited_clear", text="Free Edit")
+ split.operator("particle.edited_clear", text="Delete Edit")
else:
row = split.row()
row.enabled = particle_panel_enabled(context, psys)
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py
index 9e537e85911..b1c455c697c 100644
--- a/release/scripts/startup/bl_ui/properties_physics_common.py
+++ b/release/scripts/startup/bl_ui/properties_physics_common.py
@@ -217,7 +217,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
col.active = can_bake
if cache.is_baked is True:
- col.operator("ptcache.free_bake", text="Free Bake")
+ col.operator("ptcache.free_bake", text="Delete Bake")
else:
col.operator("ptcache.bake", text="Bake").bake = True
@@ -231,7 +231,7 @@ def point_cache_ui(self, context, cache, enabled, cachetype):
col = flow.column()
col.operator("ptcache.bake_all", text="Bake All Dynamics").bake = True
- col.operator("ptcache.free_bake_all", text="Free All Bakes")
+ col.operator("ptcache.free_bake_all", text="Delete All Bakes")
col.operator("ptcache.bake_all", text="Update All To Frame").bake = False
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 3db4d957fc7..b561fbc5fc1 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -436,7 +436,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
col = layout.column()
col.operator("scene.light_cache_bake", text="Bake Indirect Lighting", icon='RENDER_STILL')
col.operator("scene.light_cache_bake", text="Bake Cubemap Only", icon='LIGHTPROBE_CUBEMAP').subset = 'CUBEMAPS'
- col.operator("scene.light_cache_free", text="Free Lighting Cache")
+ col.operator("scene.light_cache_free", text="Delete Lighting Cache")
cache_info = scene.eevee.gi_cache_info
if cache_info:
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c
index fcfbe5dca36..1921f7b94b0 100644
--- a/source/blender/editors/physics/physics_pointcache.c
+++ b/source/blender/editors/physics/physics_pointcache.c
@@ -288,9 +288,9 @@ void PTCACHE_OT_bake_all(wmOperatorType *ot)
void PTCACHE_OT_free_bake_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Free All Physics Bakes";
+ ot->name = "Delete All Physics Bakes";
ot->idname = "PTCACHE_OT_free_bake_all";
- ot->description = "Free all baked caches of all objects in the current scene";
+ ot->description = "Delete all baked caches of all objects in the current scene";
/* api callbacks */
ot->exec = ptcache_free_bake_all_exec;
@@ -346,8 +346,8 @@ void PTCACHE_OT_bake(wmOperatorType *ot)
void PTCACHE_OT_free_bake(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Free Physics Bake";
- ot->description = "Free physics bake";
+ ot->name = "Delete Physics Bake";
+ ot->description = "Delete physics bake";
ot->idname = "PTCACHE_OT_free_bake";
/* api callbacks */
diff --git a/source/blender/editors/render/render_shading.c b/source/blender/editors/render/render_shading.c
index 53fc82e3482..3026a1058ca 100644
--- a/source/blender/editors/render/render_shading.c
+++ b/source/blender/editors/render/render_shading.c
@@ -927,9 +927,9 @@ static int light_cache_free_exec(bContext *C, wmOperator *UNUSED(op))
void SCENE_OT_light_cache_free(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Free Light Cache";
+ ot->name = "Delete Light Cache";
ot->idname = "SCENE_OT_light_cache_free";
- ot->description = "Free cached indirect lighting";
+ ot->description = "Delete cached indirect lighting";
/* api callbacks */
ot->exec = light_cache_free_exec;