mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add new icon for 3D model objects (#6186)
This commit is contained in:
@@ -247,7 +247,7 @@ module.exports = {
|
||||
'Model3DObject',
|
||||
_('3D Model'),
|
||||
_('An animated 3D model.'),
|
||||
'JsPlatform/Extensions/3d_box.svg',
|
||||
'JsPlatform/Extensions/3d_model.svg',
|
||||
new gd.Model3DObjectConfiguration()
|
||||
)
|
||||
.setCategoryFullName(_('General'))
|
||||
@@ -2695,7 +2695,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
static getThumbnail(project, resourcesLoader, objectConfiguration) {
|
||||
return 'JsPlatform/Extensions/3d_box.svg';
|
||||
return 'JsPlatform/Extensions/3d_model.svg';
|
||||
}
|
||||
|
||||
getOriginX() {
|
||||
|
16
newIDE/app/public/JsPlatform/Extensions/3d_model.svg
Normal file
16
newIDE/app/public/JsPlatform/Extensions/3d_model.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg width="32" height="32" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.56693 2L11.278 3.71111V4.27054L12.9232 3.16666L14.0002 5.03332L12.9232 7.83332H10.5002L10.2309 7.13333H3.76923L3.5 7.83332H1.07692L0 5.03332L1.07692 3.16666L2.7225 4.27078V3.71111L4.43361 2L6.00009 1.5H8.00009L9.56693 2Z" fill="#3DB3E4"/>
|
||||
<path d="M0 5.06668L1.07692 7.86668H3.5L3.76923 7.16668H6.88735L3.16037 3.30659L2.7225 3.74446V4.30414L1.07692 3.20001L0 5.06668Z" fill="#2399CA"/>
|
||||
<path d="M8 8H6L5.00009 12.0334H9.00009L8.0965 8.41902L8 8Z" fill="#2399CA"/>
|
||||
<path d="M4.43352 4.56668L2.72241 7.13334L4 9L5.60555 9.70001L6 8H8L8.41181 9.70001L10 9L11.278 7.13334L9.56685 4.56668L7.00019 5.42224L4.43352 4.56668Z" fill="#404D9B"/>
|
||||
<path d="M4.40113 4.60001L2.69995 7.15177L3.97754 9.01843L5.57373 9.71844L6 8H7.5L4.40113 4.60001Z" fill="#273382"/>
|
||||
<path d="M1.17998 4L2.97998 5.2L3 6.7L2.79393 7H1.53812L0.606536 5.2L1.17998 4Z" fill="white"/>
|
||||
<path d="M12.8 4L11 5.2V6.7L11.186 7H12.4419L13.3734 5.2L12.8 4Z" fill="white"/>
|
||||
<path d="M6 10.5L7 10L8 10.5" stroke="#404D9B" stroke-width="0.1" stroke-linecap="round"/>
|
||||
<path d="M7.42782 8.84445H6.57227L7.00004 9.70001L7.42782 8.84445Z" fill="#404D9B"/>
|
||||
<circle cx="5" cy="7" r="1" fill="white"/>
|
||||
<circle cx="9" cy="7" r="1" fill="white"/>
|
||||
<circle cx="0.5" cy="0.5" r="0.5" transform="matrix(1 0 0 -1 8.5 7.5)" fill="#404D9B"/>
|
||||
<circle cx="0.5" cy="0.5" r="0.5" transform="matrix(1 0 0 -1 4.5 7.5)" fill="#404D9B"/>
|
||||
<path d="M8.15 8.63L7.5 8H8L8.15 8.63Z" fill="#3DB3E4"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
@@ -128,7 +128,7 @@ export default class ResourcesList extends React.Component<Props, State> {
|
||||
case 'bitmapFont':
|
||||
return 'JsPlatform/Extensions/bitmapfont32.png';
|
||||
case 'model3D':
|
||||
return 'JsPlatform/Extensions/3d_box.svg';
|
||||
return 'JsPlatform/Extensions/3d_model.svg';
|
||||
default:
|
||||
return 'res/unknown32.png';
|
||||
}
|
||||
|
Reference in New Issue
Block a user