Skip to content

Commit bc96d07

Browse files
authored
Fix Physics Plugin Search in Extra Projects (#6880)
* fix physics plugin search in extra projects * update changelog
1 parent ed0d149 commit bc96d07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/reference/changelog-r2025.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- Fixed a bug causing supervisors to occasionally read stale field values after the simulation was reset ([#6758](https://github.com/cyberbotics/webots/pull/6758)).
2020
- Fixed a bug causing Webots to occasionally crash when unloading a world ([#6857](https://github.com/cyberbotics/webots/pull/6857)).
2121
- Fixed a crash occurring when Python was not found on Windows ([#6870](https://github.com/cyberbotics/webots/pull/6870)).
22+
- Fixed detection of physics plugins in extra projects ([#6880](https://github.com/cyberbotics/webots/pull/6880)).
2223
- Fixed `addForceWithOffset` and `addTorque` doing the same thing as `addForce` in Python ([#6881](https://github.com/cyberbotics/webots/pull/6881)).
2324

2425
## Webots R2025a

src/webots/scene_tree/WbExtendedStringEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const QStringList &WbExtendedStringEditor::defaultPhysicsPluginsEntryList() cons
131131
QDir resourcesDir(WbStandardPaths::resourcesPhysicsPluginsPath());
132132
mDefaultPhysicsPluginsEntryList << defaultDir.entryList(FILTERS) << resourcesDir.entryList(FILTERS);
133133
foreach (const WbProject *extraProject, *WbProject::extraProjects())
134-
mDefaultControllersEntryList << QDir(extraProject->physicsPluginsPath()).entryList(FILTERS);
134+
mDefaultPhysicsPluginsEntryList << QDir(extraProject->physicsPluginsPath()).entryList(FILTERS);
135135
firstCall = false;
136136
}
137137
return mDefaultPhysicsPluginsEntryList;

0 commit comments

Comments
 (0)