Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想重命名我刚刚创建的新图层。
floating_sel = pdb.gimp_selection_float(drawable, 0, 0) pdb.gimp_floating_sel_to_layer(floating_sel) pdb.gimp_item_set_name(item, "s")
您已经将项目传递给 pdb.gimp_item_set_name :floating_sel
pdb.gimp_item_set_name(floating_sel, "s")