mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-03-19 17:01:55 +08:00
Allow option to disable AA when creating preview
Change "people" to "authors" in plugin warning message
This commit is contained in:
parent
11be98c1e8
commit
3f54c3b934
@ -116,10 +116,10 @@ const DefaultCameraPresets = [
|
||||
]
|
||||
|
||||
class Preview {
|
||||
constructor(data) {
|
||||
constructor(options = 0) {
|
||||
var scope = this;
|
||||
if (data && data.id) {
|
||||
this.id = data.id
|
||||
if (options && options.id) {
|
||||
this.id = options.id
|
||||
}
|
||||
//Node
|
||||
this.canvas = document.createElement('canvas')
|
||||
@ -195,7 +195,7 @@ class Preview {
|
||||
try {
|
||||
this.renderer = new THREE.WebGLRenderer({
|
||||
canvas: this.canvas,
|
||||
antialias: Settings.get('antialiasing'),
|
||||
antialias: typeof options.antialias == 'boolean' ? options.antialias : Settings.get('antialiasing'),
|
||||
alpha: true,
|
||||
preserveDrawingBuffer: true
|
||||
});
|
||||
|
@ -197,8 +197,8 @@
|
||||
"message.display_skin_model.slim": "Slim",
|
||||
|
||||
"message.invalid_plugin": "Invalid Plugin File, See Console",
|
||||
"message.load_plugin_app": "Do you want to allow this plugin to make changes to your PC? Only load plugins from people you trust.",
|
||||
"message.load_plugin_web": "Do you want to load this plugin? Only load plugins from people you trust.",
|
||||
"message.load_plugin_app": "Do you want to allow this plugin to make changes to your PC? Only load plugins from authors you trust.",
|
||||
"message.load_plugin_web": "Do you want to load this plugin? Only load plugins from authors you trust.",
|
||||
"message.plugin_reload": "Reloaded %0 local plugins",
|
||||
"message.install_plugin": "Installing the plugin %0",
|
||||
"message.preset_no_info": "Preset does not contain information for this slot",
|
||||
|
Loading…
x
Reference in New Issue
Block a user