Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Gupta authored and Rahul Gupta committed Sep 3, 2024
1 parent c13c75a commit 2e260f9
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions src/editor/components/components/CommonComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ import Events from '../../lib/Events';
import Clipboard from 'clipboard';
import { saveBlob } from '../../lib/utils';

// @todo Take this out and use updateEntity?
// function changeId(componentName, value) {
// var entity = AFRAME.INSPECTOR.selectedEntity;
// if (entity.id !== value) {
// entity.id = value;
// Events.emit('entityidchange', entity);
// }
// }

export default class CommonComponents extends React.Component {
static propTypes = {
entity: PropTypes.object
Expand Down Expand Up @@ -97,36 +88,6 @@ export default class CommonComponents extends React.Component {
if (!entity) {
return <div />;
}
// const entityButtons = (
// <div>
// <a
// title="Export entity to GLTF"
// className="gltfIcon"
// onClick={(event) => {
// this.exportToGLTF();
// event.preventDefault();
// event.stopPropagation();
// }}
// >
// <img src={GLTFIcon} />
// </a>
// <a
// title="Copy entity HTML to clipboard"
// data-action="copy-entity-to-clipboard"
// className="button fa fa-clipboard"
// />
// </div>
// );

// const classNameID = classnames({
// propertyRow: true,
// hide: true
// });

// const classNameClass = classnames({
// propertyRow: true,
// hide: true
// });

return (
<div className="collapsible-content">{this.renderCommonAttributes()}</div>
Expand Down

0 comments on commit 2e260f9

Please sign in to comment.