Skip to content

Commit

Permalink
revert SHA-1: 6723388
Browse files Browse the repository at this point in the history
* V3.8.4 reduce code (cocos#17428)

Has bug in editor.
  • Loading branch information
star-e committed Jul 31, 2024
1 parent 24b76fb commit c18f538
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { EDITOR } from 'cc/env';

import {
PipelineSettings,
makePipelineSettings,
fillRequiredPipelineSettings,
} from './builtin-pipeline-types';

Expand All @@ -50,7 +51,7 @@ const { ccclass, disallowMultiple, executeInEditMode, menu, property, requireCom
@executeInEditMode
export class BuiltinPipelineSettings extends Component {
@property
private readonly _settings: PipelineSettings = new PipelineSettings();
private readonly _settings: PipelineSettings = makePipelineSettings();

// Enable/Disable
onEnable(): void {
Expand Down
Loading

0 comments on commit c18f538

Please sign in to comment.