Page MenuHome

RNA: Support bool attribute in RNA.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Feb 10 2021, 5:05 PM.

Details

Summary

This is a prerequisite for D10210. Also it allows scripts to access bool attributes.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Feb 10 2021, 5:05 PM
Jacques Lucke (JacquesLucke) created this revision.

I tested this by adding self.add_standard_attribute(layout, pointcloud, 'Boolean', 'BOOLEAN', 'POINT') in properties_data_pointcloud.py. Might as well include that in this patch?

In the outliner data API mode I could even affect a point separate node, though I had to trigger the recalculation manually.

This revision is now accepted and ready to land.Feb 11 2021, 6:04 AM

Might as well include that in this patch?

Why should that be included?

I had to trigger the recalculation manually.

Sounds like something we could fix separately.