Scurest scurest
  • Joined on 2021-01-18
Scurest commented on issue blender/blender#117776 2024-02-04 04:14:18 +01:00
keyframe_insert() on shape keys does not work

I don't have Blender as a Python Module, so I can't try that.

Scurest commented on issue blender/blender#117776 2024-02-04 03:24:52 +01:00
keyframe_insert() on shape keys does not work

Can't repro for background mode using Blender 3.6/4.1 on Linux. I added

bpy.ops.wm.save_as_mainfile(filepath='test.blend')

to the bottom of my above script, saved it as a.py, and…

Scurest commented on issue blender/blender#117792 2024-02-04 03:00:02 +01:00
The color attribute of Vertex Domain can't access data

The length appears to be 0 only if the object is in edit mode. I get the expected length in object mode. Not sure if this is intentional.

Scurest commented on issue blender/blender#117776 2024-02-04 02:57:26 +01:00
keyframe_insert() on shape keys does not work

Yes, I am using the text editor.

Scurest commented on issue blender/blender#117776 2024-02-03 10:10:57 +01:00
keyframe_insert() on shape keys does not work

This works for me.

import bpy

bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete() 
bpy.ops.object.select_all(action='DESELECT')

bpy.ops.mesh.primitive_cube_add(size
Scurest created pull request blender/blender#117664 2024-01-30 10:36:51 +01:00
Addon: catch certain ZIP packaging errors in addon_install
Scurest commented on issue blender/blender-addons#105141 2024-01-27 18:57:47 +01:00
Format issue with material image export during GLTF export

Disconnect the Image Texture Alpha <-> Principled Node Alpha link in the Shader Editor.

Scurest commented on issue blender/blender#117488 2024-01-25 08:22:27 +01:00
Accessing the same color attribute multiple times return unpredictable results

There's a section about it on the Gotchas page

Help! My script crashes Blender

TL;DR Do not keep…

Scurest commented on issue blender/blender#117488 2024-01-25 02:11:22 +01:00
Accessing the same color attribute multiple times return unpredictable results

When you add or remove a color attribute, generally any existing references to color attributes may become junk (pointer is invalidated). Your workaround avoids this problem by holding onto names…

Scurest commented on issue blender/blender#117367 2024-01-20 21:37:08 +01:00
OBJ Importer: Vertex Colors Lose Alignment In At Least 2 Situations

Simpler example: Take this OBJ file

v -0.004936 0.000000 1.013093 1.0000 0.4235 0.0000
v 1.995063 0.000000 1.013093 1.0000 0.8470 0.0000
v -0.004936 0.000000 -0.986907 1.0000 0.4235…
Scurest commented on issue blender/blender#117367 2024-01-20 21:00:10 +01:00
OBJ Importer: Vertex Colors Lose Alignment In At Least 2 Situations

Nevermind, I managed to repro. I've attached a Test.obj. If o obj is inserted on line 796, the vertex colors are broken. If it is inserted on line 797 instead though, it doesn't break.

[Iss117…

Scurest commented on issue blender/blender#117367 2024-01-20 19:29:46 +01:00
OBJ Importer: Vertex Colors Lose Alignment In At Least 2 Situations

Can you attach an OBJ file for testing?

Scurest commented on issue blender/blender#117122 2024-01-15 16:25:12 +01:00
Using webp image textures fails to export glb/gltf

tess.blend in Blender

Blender.jpg

tess.glb in https://gltf-viewer.donmccurdy.com/

![Viewer.jpg](/attachments/ec43a9bc-b26a-4332-bfaa-9…

Scurest commented on issue blender/blender#110934 2023-08-08 19:16:47 +02:00
There is no "vertex color" node

The "Vertex Color" node was renamed the "Color Attribute" node (in 3.2 IIRC).

Scurest commented on issue blender/blender#110603 2023-07-29 04:42:26 +02:00
mathutils.Quaternion.slerp is non-linear

The effect you see is actually from a small bug in the script. start aliases obj.rotation_quaternion, so you are actually changing start in the loop.

start = obj.rotation_quaternion  #…
Scurest commented on issue blender/blender#108538 2023-07-14 07:33:20 +02:00
quaternion rotation values changing to inverse of what's needed when rotating beyond limits of current quaternion segment

I don't what Flip Quats (Alt F) does. I tried it and it appears to do nothing. But I don't think any operator you run after the fact could fix this; the information about which way you rotated is…

Scurest commented on issue blender/blender#108538 2023-06-22 23:55:42 +02:00
quaternion rotation values changing to inverse of what's needed when rotating beyond limits of current quaternion segment

@dr.sybren Starting from the default cube, view it from the top in object mode and hit R to start rotating. Spin around one full rotation counter-clockwise. It goes from 0 degrees to 360 degrees.…

Scurest commented on issue blender/blender#108538 2023-06-02 22:08:26 +02:00
quaternion rotation values changing to inverse of what's needed when rotating beyond limits of current quaternion segment

Note that this is inconsistent with Eulers, which work as expected. If you spin the bone around a full revolution in Euler mode you go 0° -> 360°. The equivalent for quaternions would be to go 1…

Scurest opened issue blender/blender#108053 2023-05-18 19:09:57 +02:00
Collada Export: texcoord set="N" no longer starts at 0