Fix #133099: Remove GP TextureMapping modifier vertexgroup influence
If I read code correctly, at least offset/translation and scale happen in the Curve domain only in GPv3, so having vertexgroups influence per point does not really make sense for this modifier. Therefor, remove the influence vertexgroup from this modifier. Pull Request: https://projects.blender.org/blender/blender/pulls/133102
This commit is contained in:
committed by
Philipp Oeser
parent
a03b1e063d
commit
c452d5d9e8
@@ -11131,8 +11131,6 @@ static void rna_def_modifier_grease_pencil_texture(BlenderRNA *brna)
|
||||
rna_def_modifier_grease_pencil_layer_filter(srna);
|
||||
rna_def_modifier_grease_pencil_material_filter(
|
||||
srna, "rna_GreasePencilTextureModifier_material_filter_set");
|
||||
rna_def_modifier_grease_pencil_vertex_group(
|
||||
srna, "rna_GreasePencilTextureModifier_vertex_group_name_set");
|
||||
|
||||
rna_def_modifier_panel_open_prop(srna, "open_influence_panel", 0);
|
||||
|
||||
|
||||
@@ -335,7 +335,6 @@ static void panel_draw(const bContext *C, Panel *panel)
|
||||
{
|
||||
modifier::greasepencil::draw_layer_filter_settings(C, influence_panel, ptr);
|
||||
modifier::greasepencil::draw_material_filter_settings(C, influence_panel, ptr);
|
||||
modifier::greasepencil::draw_vertex_group_settings(C, influence_panel, ptr);
|
||||
}
|
||||
|
||||
modifier_panel_end(layout, ptr);
|
||||
|
||||
Reference in New Issue
Block a user