johnroper100 / CrowdMaster

Crowd Simulation for the Masses
http://crowdmaster.org
GNU General Public License v3.0
133 stars 24 forks source link

Agent Gen - Adding a non-vertex based object to Mesh node causes python eror #53

Closed axb2035 closed 7 years ago

axb2035 commented 7 years ago

Current behavior: If you select a non-vertex object e.g. empty, armature, spline, text, etc... from the drop down list for guide mesh in the Mesh node, generating agents will throw a Python error.

Expected behavior: List of objects to select from is filtered so it only shows legitimate mesh objects. Is this is not possible then fails gracefully with a meaningful error message.

Steps to reproduce: Step 1: Replace default cube with an Empty or other non-mesh object (text, armature, etc) Step 2: Set up a noodle as per the image below.

image

Step 3: Select Empty and hit Agent Generation. Error will occur.

image

Crowdmaster 1.3.0 - develop Last commit 59bca6fa04185739d79437c95425f4977eb49290 Windows 10 Blender 2.78b