Changeset 3398054
- Timestamp:
- 11/18/2025 12:27:21 PM (4 months ago)
- Location:
- verge3d/trunk
- Files:
-
- 4 edited
-
js/admin-upload.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
verge3d.php (modified) (3 diffs)
-
woo_product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
verge3d/trunk/js/admin-upload.js
r3270430 r3398054 3 3 'blend', 4 4 'blend1', 5 'blend2', 5 6 'max', 6 7 'ma', // maya 7 8 'mb', // maya 8 9 'mat', // max material file 9 'mel' // e.g workspace.mel 10 'mel', // e.g. workspace.mel 11 'tx' // arnold texture 10 12 ]; 11 13 … … 68 70 69 71 // 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); 71 75 updateProgress(); 72 76 continue; -
verge3d/trunk/readme.txt
r3328000 r3398054 3 3 Tags: verge3d,3d,webgl,3dweb,ecommerce 4 4 Requires at least: 5.0 5 Tested up to: 6.8. 15 Tested up to: 6.8.2 6 6 Requires PHP: 7.0 7 Stable tag: 4.1 0.07 Stable tag: 4.11.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 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 72 76 = 4.10.0 = 73 77 * Verge3D 4.10.0 version bump. -
verge3d/trunk/verge3d.php
r3328000 r3398054 4 4 Plugin URI: https://www.soft8soft.com/verge3d 5 5 Description: 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.1 0.06 Version: 4.11.0 7 7 Author: Soft8Soft LLC 8 8 Author URI: https://www.soft8soft.com … … 26 26 27 27 $role = get_role('editor'); 28 $role->add_cap('manage_verge3d', true); 28 if (isset($role)) 29 $role->add_cap('manage_verge3d', true); 29 30 } 30 31 register_activation_hook(__FILE__, 'v3d_add_capability'); … … 35 36 36 37 $role = get_role('editor'); 37 $role->remove_cap('manage_verge3d', true); 38 if (isset($role)) 39 $role->remove_cap('manage_verge3d', true); 38 40 } 39 41 register_deactivation_hook(__FILE__, 'v3d_remove_capability'); -
verge3d/trunk/woo_product.php
r3300732 r3398054 144 144 } 145 145 146 $product_image_processed = false; 146 147 147 148 function v3d_product_image($html) { 148 149 global $product; 150 global $product_image_processed; 149 151 150 152 if (get_post_meta(get_the_ID(), 'v3d_app_show_gallery', true)) 151 153 return $html; 152 154 155 // prevent the gallery thumbnails from being shown 156 if ($product_image_processed) 157 return ''; 158 153 159 $app_iframe = v3d_get_product_iframe($product); 154 if (!empty($app_iframe)) 160 if (!empty($app_iframe)) { 161 $product_image_processed = true; 155 162 return $app_iframe; 156 else163 } else { 157 164 return $html; 165 } 158 166 } 159 167 add_filter('woocommerce_single_product_image_thumbnail_html', 'v3d_product_image');
Note: See TracChangeset
for help on using the changeset viewer.