RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 10:13 pm

All times are UTC





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: FIXED: .20a XML conflicting child table size
PostPosted: Mon Feb 13, 2006 1:20 am 
Offline
Administrator
User avatar

Joined: Fri Jan 13, 2006 4:33 pm
Posts: 2079
Location: Palo, IA
Conflicting sizex and sizey data between <table> and child <tables> is not properly handled (or handled at all)

Fix: Done. Create handler in DOMRomUnmarshaller.parseTable() -- override child table's size attributes with parent's?

Added following code right before return in DOMRomUnmarshaller.unmarshallTable()

Code:
        // set axis sizes
        if (table.getType() == Table.TABLE_2D) {
            System.out.println(table.getName() + " 2D");
            if (((Table2D)table).getAxis().isStatic() == false) ((Table2D)table).getAxis().setDataSize(table.getDataSize());           
        } else if (table.getType() == Table.TABLE_3D) {
            System.out.println(table.getName() + " 3D");
            if (((Table3D)table).getXAxis().isStatic() == false) ((Table3D)table).getXAxis().setDataSize(((Table3D)table).getSizeX());
            if (((Table3D)table).getYAxis().isStatic() == false) ((Table3D)table).getYAxis().setDataSize(((Table3D)table).getSizeY());
        }

_________________
- Jared


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl