Changeset 935 for cpp/frams/neuro


Ignore:
Timestamp:
05/29/20 15:20:29 (4 years ago)
Author:
Maciej Komosinski
Message:

Utility functions that provide a set of all neuron classes fulfilling given criteria now also filter neuron classes by the desired Model shape type (BALL_AND_STICK or SOLIDS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/neuro/neurofactory.cpp

    r933 r935  
    2626        if (!nc) return 0;
    2727        if (!nc->active) return 0;
    28         if (!(nc->supported_shape_types & (1 << (int)shape_type)))
     28        if (!(nc->isShapeTypeSupported(shape_type)))
    2929        {
    3030                logPrintf("NeuroFactory", "createNeuroImpl", LOG_WARN,
Note: See TracChangeset for help on using the changeset viewer.