Some changes to make testing easier.
This commit is contained in:
parent
62ccc7d313
commit
63e8b6d6db
3 changed files with 2 additions and 8 deletions
|
@ -273,11 +273,6 @@ class _Color(Color,_injector):
|
|||
def __repr__(self):
|
||||
return "Color(R=%d,G=%d,B=%d,A=%d)" % (self.r,self.g,self.b,self.a)
|
||||
|
||||
class _ProcessedText(ProcessedText, _injector):
|
||||
def append(self, properties, text):
|
||||
#More pythonic name
|
||||
self.push_back(properties, text)
|
||||
|
||||
class _Symbolizers(Symbolizers,_injector):
|
||||
|
||||
def __getitem__(self, idx):
|
||||
|
|
|
@ -80,7 +80,7 @@ public:
|
|||
}
|
||||
|
||||
/** Return next placement.
|
||||
* If no more placements are found null pointer is returned.
|
||||
* If no more placements are found false is returned.
|
||||
*/
|
||||
bool next();
|
||||
|
||||
|
|
|
@ -239,8 +239,7 @@ bool text_symbolizer_helper<FaceManagerT, DetectorT>::next_placement()
|
|||
}
|
||||
|
||||
|
||||
finder_ = boost::shared_ptr<placement_finder<DetectorT> >(new placement_finder<DetectorT>(feature_, *placement_, *info_, detector_, dims_));
|
||||
// boost::make_shared<placement_finder<DetectorT> >(feature_, *placement_, *info_, detector_, dims_);
|
||||
// finder_ = boost::shared_ptr<placement_finder<DetectorT> >(new placement_finder<DetectorT>(feature_, *placement_, *info_, detector_, dims_));
|
||||
|
||||
if (writer_.first) finder_->set_collect_extents(true);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue