Skip to content

Commit

Permalink
Fixes Crash while exiting Rhino with a SampleRealtimeRenderer.rhp loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
andylebihan committed Aug 29, 2018
1 parent 0590317 commit 4282d68
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/SampleRealtimeRenderer/SampleDisplayMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ class CSampleDisplayMode : public RhRdk::Realtime::DisplayMode
};



class CDisplayModeFactory : public RhRdk::Realtime::DisplayMode::Factory
//ALB 2018.8.29 This object must be derived from CRhRdkObject so it can be cleaned up correctly.
//This happens because of a bug in the SDK - there should have been a Delete function on RhRdk::Realtime::DisplayMode::Factory
//https://mcneel.myjetbrains.com/youtrack/issue/RH-46405
class CDisplayModeFactory : public RhRdk::Realtime::DisplayMode::Factory, public CRhRdkObject
{
public:
virtual ON_wString Name(void) const override
Expand Down

0 comments on commit 4282d68

Please sign in to comment.