Joining two objects with different UVs destroys UVs of one object in some specific, reproducable, cases #37577
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#37577
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
WinXP, nvidia 9800GT
Blender Version
Broken: Blender 2.69 (r60995)
Worked: Blender 2.69RC1 (r60597)
Short description of error
Joining two objects with different UVs resets the UVs of one or more objects to (0,0) in some specific cases (see below)
Note that this bug is an attempt to more specifically describe the (uncorrectly rejected) bug http://developer.blender.org/T37182
Exact steps for others to reproduce the error
I consistently get this bug when I do the following steps:
Other cases:
Cases when this behaviour does not occur:
Changed status to: 'Open'
Added subscriber: @jonim8or
#37182 was marked as duplicate of this issue
#37737 was marked as duplicate of this issue
Well, with such a good description, it’s indeed easy to confirm that bug! :)
Added subscribers: @vladoakmacic, @mont29
◀ Merged tasks: #37737.
Grmlll… Now I can’t reproduce this bug in latest master, as if it had been fixed already somehow… Could you please check again with a recent build from http://builder.blender.org/download/ ?
With recent build (blender-2.69-4a14102-win64) the bug is still there for me.
@vladoakmacic I tested your file, you have two different names for your UV maps (UVMap and UVTex), so you obviously get two different maps in your joined object! There is absolutely no bug here (as a side note, please avoid ziping mere blend files, it makes us lose some time, just use the Compress option when saving the blend file).
@mont29 OK, now I see that I have two different names for your UV maps (that is because I added one object with Append), but why isn't it problem with Blender 2.68 and backwards? Does that mean that it is bug if it joins them even though there are two different names for UV maps? ;)
bug.blend
@vladoakmacic Maybe you should read release notes? http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.69/Modeling#Mesh_Merging CD layers are now merged by name instead of index/position.
OK, now I understand. We can call this case closed :)
Seems to work for me with build blender-2.69-d963412-win32
Changed status from 'Open' to: 'Archived'
Nice, closing then! :)
Added subscribers: @tea_monster, @dfelinto, @MaleneThyssen
◀ Merged tasks: #37182.
@jonim8or I tried again to reproduce this (as described above, same as your post in #37182), and I still can't reproduce this!
Don’t know what happens… :/
Ah! thanks Mont!
And - i fixed my issue by renaming all uvmaps again this time making them all the same name, instead of carefully giving them different names hah!
All was good then.
Still is a bit weird that one uvmap just gets crumbled into a dot if the uvmaps has different names i think?
Anyway i am happy - my issue is fixed for now :D
@MaleneThyssen: Nah, if you merge cubeB with UVmapB in cubeA with UVmapA, since vertices from B do not have any UV coordinates for UVmapA, they just get default ones (0, 0)… so they all get crumbled! :)
@mont29 : I did some tests to reproduce it. I can still reproduce, but apparently it matters which unwrap method you use.
For me the bug happens when using project from view for the first cube, and project from view(bounds) for the second. But when using lightmap pack and project from view the bug does not occur. This is in 2.69, official release.
I've checked the names of the UV layers, but these are the same. (unwrapping the first cube creates a uv layer. unwrapping the second cube modifies the uv layer)
so here is the new steps to reproduce
Changed status from 'Archived' to: 'Open'
Ok… Finally manage to reproduce the issue.
The kind of unwrapping does not seem to have any importance, what's important is this: bug only happens (as far as I can see) when you create the UVmap of the first cube in Edit mode, leave back to Object mode, and do not switch again first cube in Edit mode. Else, joining works as expected.
So I suspect a sync issue in CDLayers between Object and Edit modes, somehow… Will dig this next week.
PS: Following steps above allow to recreate the bug, if you really create first cube from scratch (using the default-scene one does not work). And to make joining work as expected, you just have to tab one more time in/out Edit mode for the first cube, before doing the joining (after or before duplicating to the second cube, that does not matters).
This issue was referenced by blender/blender-addons-contrib@605910f060
This issue was referenced by
605910f060
Changed status from 'Open' to: 'Resolved'
Closed by commit
605910f060
.