Skip to content

Add animation support to material editor for animated materials - #672

Merged
neph1 merged 7 commits into
masterfrom
copilot/fix-667
Sep 20, 2025
Merged

neph1 merged 7 commits into
masterfrom
copilot/fix-667

use lambda for timer

e1f10dd
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codacy Production / Codacy Static Code Analysis succeeded Sep 18, 2025 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- jme3-materialeditor/src/com/jme3/gde/materials/MaterialPreviewRenderer.java  1
- jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidget.java  3
- jme3-materialeditor/src/com/jme3/gde/materials/multiview/MaterialEditorTopComponent.java  2
- jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/MatPanel.java  5
- jme3-materialeditor/test/unit/src/com/jme3/gde/materialdefinition/editor/MatPanelTest.java  10
- jme3-materialeditor/test/manual/MaterialPreviewWidgetManualTest.java  2
- jme3-materialeditor/test/unit/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidgetTest.java  10
         

Clones added
============
- jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidget.java  1
- jme3-materialeditor/src/com/jme3/gde/materialdefinition/editor/MatPanel.java  1
- jme3-materialeditor/test/unit/src/com/jme3/gde/materialdefinition/editor/MatPanelTest.java  6
- jme3-materialeditor/test/unit/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidgetTest.java  6
         

See the complete overview on Codacy

Annotations

Check notice on line 62 in jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidget.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

jme3-materialeditor/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidget.java#L62

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.

Check notice on line 49 in jme3-materialeditor/test/unit/src/com/jme3/gde/materialdefinition/editor/MatPanelTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

jme3-materialeditor/test/unit/src/com/jme3/gde/materialdefinition/editor/MatPanelTest.java#L49

Avoid unnecessary constructors - the compiler will generate these for you

Check notice on line 49 in jme3-materialeditor/test/unit/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidgetTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

jme3-materialeditor/test/unit/src/com/jme3/gde/materials/multiview/widgets/MaterialPreviewWidgetTest.java#L49

Avoid unnecessary constructors - the compiler will generate these for you