From 58721e7eea5e920eb70aeee5f6e9cd657da1c77b Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Thu, 21 Mar 2013 19:07:30 -0400 Subject: [PATCH] Fix a crash in br -objects --- openbr/plugins/meta.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/meta.cpp b/openbr/plugins/meta.cpp index f19e4cc..4c7eee1 100644 --- a/openbr/plugins/meta.cpp +++ b/openbr/plugins/meta.cpp @@ -418,6 +418,8 @@ public: private: void init() { + if (!transform) return; + trainable = transform->trainable; if (!cache.isEmpty()) return; -- libgit2 0.21.4