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:
|
# if mesh.faceUV:
|
||||||
for face in mesh.active_uv_texture.data:
|
for face in mesh.active_uv_texture.data:
|
||||||
# for face in mesh.faces
|
# 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:
|
if sidename in sided:
|
||||||
sided[sidename]+=1
|
sided[sidename]+=1
|
||||||
|
@ -595,7 +595,7 @@ def BuildRNAInfo():
|
|||||||
op_mods = dir(bpy.ops)
|
op_mods = dir(bpy.ops)
|
||||||
|
|
||||||
for op_mod_name in sorted(op_mods):
|
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
|
continue
|
||||||
|
|
||||||
op_mod = getattr(bpy.ops, op_mod_name)
|
op_mod = getattr(bpy.ops, op_mod_name)
|
||||||
@ -647,6 +647,7 @@ if __name__ == "__main__":
|
|||||||
if bpy.app.background:
|
if bpy.app.background:
|
||||||
import sys
|
import sys
|
||||||
sys.stderr.write("\n".join(data))
|
sys.stderr.write("\n".join(data))
|
||||||
|
sys.stderr.write("\n\nEOF\n")
|
||||||
else:
|
else:
|
||||||
text = bpy.data.texts.new(name="api.py")
|
text = bpy.data.texts.new(name="api.py")
|
||||||
text.from_string(data)
|
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");
|
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 */
|
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);
|
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");
|
RNA_string_set(kmi->ptr, "data_path", "space_data.pivot_point");
|
||||||
|
Loading…
Reference in New Issue
Block a user