Skip to content

Instantly share code, notes, and snippets.

@fsiddi
fsiddi / sync_views.py
Last active December 17, 2015 16:49
Simple script that makes a button to sync multiview setting across scenes in Blender
import bpy
def SyncViews():
for view in bpy.context.scene.render.views:
if (view.name == 'left'):
use_left = view.use
camera_left = view.camera
if (view.name == 'right'):
use_right = view.use
camera_right = view.camera
@zbyhoo
zbyhoo / gitp2svnp.rb
Last active December 23, 2016 10:37
Simple script converting git patch file into tortoise merge compatible format. Usage: gitp2svnp.rb <git_patch_file>
#!/usr/bin/ruby
if ARGV.length != 1
puts "usage: git2svn <file_name>"
puts " file_name - git patch file name"
exit
end
separator = "\n===================================================================\n"
new_file = false