Remove (ifdef) RNA for simulation, point cloud and particles
For 2.90 release this should not be exposed in the RNA API. In master this needs to be ON by default, that's all. Differential Revision: https://developer.blender.org/D8589
This commit is contained in:
@@ -564,9 +564,17 @@ static StructRNA *rna_Object_data_typef(PointerRNA *ptr)
|
||||
case OB_GPENCIL:
|
||||
return &RNA_GreasePencil;
|
||||
case OB_HAIR:
|
||||
# ifdef WITH_HAIR_NODES
|
||||
return &RNA_Hair;
|
||||
# else
|
||||
return &RNA_ID;
|
||||
# endif
|
||||
case OB_POINTCLOUD:
|
||||
# ifdef WITH_PARTICLE_NODES
|
||||
return &RNA_PointCloud;
|
||||
# else
|
||||
return &RNA_ID;
|
||||
# endif
|
||||
case OB_VOLUME:
|
||||
return &RNA_Volume;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user