Formatting.
This commit is contained in:
parent
a4062ade3d
commit
116908c088
|
@ -211,21 +211,22 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags )
|
||||||
if( schItem->IsSelected() )
|
if( schItem->IsSelected() )
|
||||||
selectedModified = true;
|
selectedModified = true;
|
||||||
|
|
||||||
auto updateConnectivityFlag = [&, this]()
|
auto updateConnectivityFlag =
|
||||||
{
|
[&]()
|
||||||
if( schItem->IsConnectable() )
|
{
|
||||||
{
|
if( schItem->IsConnectable() )
|
||||||
dirtyConnectivity = true;
|
{
|
||||||
|
dirtyConnectivity = true;
|
||||||
|
|
||||||
// Do a local clean up if there are any connectable objects in the commit.
|
// Do a local clean up if there are any connectable objects in the commit.
|
||||||
if( connectivityCleanUp == NO_CLEANUP )
|
if( connectivityCleanUp == NO_CLEANUP )
|
||||||
connectivityCleanUp = LOCAL_CLEANUP;
|
connectivityCleanUp = LOCAL_CLEANUP;
|
||||||
|
|
||||||
// Do a full rebauild of the connectivity if there is a sheet in the commit.
|
// Do a full rebauild of the connectivity if there is a sheet in the commit.
|
||||||
if( schItem->Type() == SCH_SHEET_T )
|
if( schItem->Type() == SCH_SHEET_T )
|
||||||
connectivityCleanUp = GLOBAL_CLEANUP;
|
connectivityCleanUp = GLOBAL_CLEANUP;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
switch( changeType )
|
switch( changeType )
|
||||||
{
|
{
|
||||||
|
|
|
@ -457,7 +457,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Check if \a aItem has connectivity changes against this object.
|
* Check if \a aItem has connectivity changes against this object.
|
||||||
*
|
*
|
||||||
* This provides granular per object connectivity change testing to prevent the need
|
* This provides granular per object connectivity change testing to prevent the need
|
||||||
* to rebuild the #CONNECTION_GRAPH when object properties that have nothing to do with
|
* to rebuild the #CONNECTION_GRAPH when object properties that have nothing to do with
|
||||||
* the schematic connectivity changes i.e. color, thickness, fill type. etc.
|
* the schematic connectivity changes i.e. color, thickness, fill type. etc.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue