Refactoring #1649

Envelope task #1438: === Physics ===

Feature #1645: == Graded layer and cross-layer particles ==

Ensure consistent use of ambientMaterial

Added by wuttke over 2 years ago. Updated over 2 years ago.

Status:ResolvedStart date:19 Nov 2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Is ambientMaterial==nullptr allowed?
If no, prevent it from ever occuring.
If yes, make sure we don't call *ambientMaterial without prior check.

History

#1 Updated by wuttke over 2 years ago

  • Parent task changed from #1290 to #1645

#2 Updated by herck over 2 years ago

  • Status changed from New to Resolved

This issue is resolved during a refactoring: materials are no longer polymorphic and are not stored as pointers anymore

Also available in: Atom PDF