Commit ad99e0d9 authored by Breno Rilho Lemos's avatar Breno Rilho Lemos 💬

Add back smooth shading to spheres

parent 8f7d55ab
......@@ -90,6 +90,7 @@ def createSceneParticles(particles, createTracks = False):
this_type=particle.p_type
print("Adding Sphere - Particle " + str(len(blender_particles))+" of "+str(n_particles-1)+" - "+this_type)
bpy.ops.mesh.primitive_uv_sphere_add()
bpy.ops.object.shade_smooth()
this_particle = bpy.context.object
this_particle.name = "part"+str(particle.iDx)
this_particle.location = ((particle.x,particle.y,particle.z))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment