Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/b/l/blender-smooth-slides-HEAD/odp_importer.py   blender-smooth-slides(Download)
		b_material.setTexture(0, b_texture , Blender.Texture.TexCo.UV , Blender.Texture.MapTo.COL)
		if (img.mode == 'RGBA') :
			b_material.mode |= Blender.Material.Modes.ZTRANSP
		blender_objects = {
			'material' : b_material,

src/b/l/blender-smooth-slides-HEAD/odp_blenderize.py   blender-smooth-slides(Download)
		b_material.setTexture(0, b_texture , Blender.Texture.TexCo.UV , Blender.Texture.MapTo.COL)
		if (use_alpha and img.mode == 'RGBA') :
			b_material.mode |= Blender.Material.Modes.ZTRANSP
		os.remove(tmpfile.name)
		return b_material

src/b/l/blender_nif_plugin-HEAD/todo/old_tests/runtest_varia.py   blender_nif_plugin(Download)
        alpha_obj = Blender.Object.Get("Alpha")
        # check Z transparency
        assert(alpha_obj.data.materials[0].mode & Blender.Material.Modes.ZTRANSP)
        # check that transparency was exported
        alpha_obj_alpha = alpha_obj.data.materials[0].alpha