forked from bartvdbraak/blender
fixes for recent renaming
This commit is contained in:
parent
486b3cd2f5
commit
8e388a8f49
@ -965,7 +965,7 @@ class x3d_class:
|
||||
# if mesh.faceUV:
|
||||
for face in mesh.active_uv_texture.data:
|
||||
# for face in mesh.faces
|
||||
sidename = "two" if face.use_twoside else "one":
|
||||
sidename = "two" if face.use_twoside else "one"
|
||||
|
||||
if sidename in sided:
|
||||
sided[sidename]+=1
|
||||
|
@ -595,7 +595,7 @@ def BuildRNAInfo():
|
||||
op_mods = dir(bpy.ops)
|
||||
|
||||
for op_mod_name in sorted(op_mods):
|
||||
if op_mod_name.startswith('__') or op_mod_name in ("add", "remove"):
|
||||
if op_mod_name.startswith('__'):
|
||||
continue
|
||||
|
||||
op_mod = getattr(bpy.ops, op_mod_name)
|
||||
@ -647,6 +647,7 @@ if __name__ == "__main__":
|
||||
if bpy.app.background:
|
||||
import sys
|
||||
sys.stderr.write("\n".join(data))
|
||||
sys.stderr.write("\n\nEOF\n")
|
||||
else:
|
||||
text = bpy.data.texts.new(name="api.py")
|
||||
text.from_string(data)
|
||||
|
@ -275,7 +275,7 @@ void view3d_keymap(wmKeyConfig *keyconf)
|
||||
RNA_string_set(kmi->ptr, "data_path", "space_data.pivot_point_align");
|
||||
|
||||
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", SPACEKEY, KM_PRESS, KM_CTRL, 0); /* new in 2.5 */
|
||||
RNA_string_set(kmi->ptr, "data_path", "space_data.manipulator");
|
||||
RNA_string_set(kmi->ptr, "data_path", "space_data.show_manipulator");
|
||||
|
||||
kmi = WM_keymap_add_item(keymap, "WM_OT_context_set_enum", PERIODKEY, KM_PRESS, 0, 0);
|
||||
RNA_string_set(kmi->ptr, "data_path", "space_data.pivot_point");
|
||||
|
Loading…
Reference in New Issue
Block a user