mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Bug fix: update of control point positions in property browser goes both ways.
This commit is contained in:
@@ -692,6 +692,14 @@ void Mapper::setValue(QtProperty* property, const QVariant& value)
|
||||
}
|
||||
}
|
||||
|
||||
void Mapper::updateShape(MShape* shape)
|
||||
{
|
||||
if (shape == _mapping->getShape().data())
|
||||
{
|
||||
_updateShapeProperty(_outputItem, shape);
|
||||
}
|
||||
}
|
||||
|
||||
void Mapper::_buildShapeProperty(QtProperty* shapeItem, MShape* shape)
|
||||
{
|
||||
for (int i=0; i<shape->nVertices(); i++)
|
||||
@@ -731,6 +739,7 @@ ColorMapper::ColorMapper(Mapping::ptr mapping)
|
||||
Q_CHECK_PTR(color);
|
||||
}
|
||||
|
||||
|
||||
//MeshColorMapper::MeshColorMapper(Mapping::ptr mapping)
|
||||
// : ColorMapper(mapping) {
|
||||
// // Add mesh sub property.
|
||||
|
||||
Reference in New Issue
Block a user