Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
0207aeed
Commit
0207aeed
authored
May 28, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attrrefs to objects with just one attributes was interpreted as attrref to whole object
parent
5a6add9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wb/lib/wb/src/wb_volume.cpp
wb/lib/wb/src/wb_volume.cpp
+3
-2
No files found.
wb/lib/wb/src/wb_volume.cpp
View file @
0207aeed
/*
* Proview $Id: wb_volume.cpp,v 1.3
5 2006-05-21 22:30:50 lw
Exp $
* Proview $Id: wb_volume.cpp,v 1.3
6 2007-05-28 09:23:49 claes
Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -369,7 +369,8 @@ wb_attribute wb_volume::attribute(const pwr_sAttrRef* arp) const
}
// Check if we shall reference the whole object
if
(
arp
->
Size
==
0
||
(
arp
->
Offset
==
0
&&
arp
->
Size
==
bdrep
->
size
()))
{
if
(
arp
->
Size
==
0
||
(
arp
->
Offset
==
0
&&
arp
->
Size
==
bdrep
->
size
()
&&
bdrep
->
nAttribute
()
!=
1
))
{
wb_attribute
a
(
sts
,
orep
);
orep
->
unref
();
delete
bdrep
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment