Plugin Directory

Changeset 3398054


Ignore:
Timestamp:
11/18/2025 12:27:21 PM (4 months ago)
Author:
soft8soft
Message:

New version 4.11.0

Location:
verge3d/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • verge3d/trunk/js/admin-upload.js

    r3270430 r3398054  
    33    'blend',
    44    'blend1',
     5    'blend2',
    56    'max',
    67    'ma',       // maya
    78    'mb',       // maya
    89    'mat',      // max material file
    9     'mel'       // e.g workspace.mel
     10    'mel',      // e.g. workspace.mel
     11    'tx'        // arnold texture
    1012];
    1113
     
    6870
    6971        // prevent upload of some files (such as .DS_Store)
    70         if (V3D_IGNORE_EXT.includes(ext) || path.includes('v3d_app_data') || name.startsWith('.')) {
     72        if (V3D_IGNORE_EXT.includes(ext) || path.includes('v3d_app_data') ||
     73                path.split('/').some(part => part.startsWith('.'))) {
     74            console.log('Ignoring ' + path);
    7175            updateProgress();
    7276            continue;
  • verge3d/trunk/readme.txt

    r3328000 r3398054  
    33Tags: verge3d,3d,webgl,3dweb,ecommerce
    44Requires at least: 5.0
    5 Tested up to: 6.8.1
     5Tested up to: 6.8.2
    66Requires PHP: 7.0
    7 Stable tag: 4.10.0
     7Stable tag: 4.11.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7070== Changelog ==
    7171
     72= 4.11.0 =
     73* Do not upload hidden folders and Arnold textures (.tx)
     74* Fix issue with multiple canvases shown when using product gallery items
     75
    7276= 4.10.0 =
    7377* Verge3D 4.10.0 version bump.
  • verge3d/trunk/verge3d.php

    r3328000 r3398054  
    44Plugin URI: https://www.soft8soft.com/verge3d
    55Description: Verge3D is the most artist-friendly toolkit for creating interactive web-based experiences. It can be used to create product configurators, 3D presentations, online stores, e-learning apps, 3D portfolios, browser games and more.
    6 Version: 4.10.0
     6Version: 4.11.0
    77Author: Soft8Soft LLC
    88Author URI: https://www.soft8soft.com
     
    2626
    2727    $role = get_role('editor');
    28     $role->add_cap('manage_verge3d', true);
     28    if (isset($role))
     29        $role->add_cap('manage_verge3d', true);
    2930}
    3031register_activation_hook(__FILE__, 'v3d_add_capability');
     
    3536
    3637    $role = get_role('editor');
    37     $role->remove_cap('manage_verge3d', true);
     38    if (isset($role))
     39        $role->remove_cap('manage_verge3d', true);
    3840}
    3941register_deactivation_hook(__FILE__, 'v3d_remove_capability');
  • verge3d/trunk/woo_product.php

    r3300732 r3398054  
    144144}
    145145
     146$product_image_processed = false;
    146147
    147148function v3d_product_image($html) {
    148149    global $product;
     150    global $product_image_processed;
    149151
    150152    if (get_post_meta(get_the_ID(), 'v3d_app_show_gallery', true))
    151153        return $html;
    152154
     155    // prevent the gallery thumbnails from being shown
     156    if ($product_image_processed)
     157        return '';
     158
    153159    $app_iframe = v3d_get_product_iframe($product);
    154     if (!empty($app_iframe))
     160    if (!empty($app_iframe)) {
     161        $product_image_processed = true;
    155162        return $app_iframe;
    156     else
     163    } else {
    157164        return $html;
     165    }
    158166}
    159167add_filter('woocommerce_single_product_image_thumbnail_html', 'v3d_product_image');
Note: See TracChangeset for help on using the changeset viewer.