3D View Editor Header > Select > Grouped > Pass & Pass Index Bug? #40785

Closed
opened 2014-06-24 11:49:02 +02:00 by Terry Wallwork · 7 comments

System Information
Operating system and graphics card

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)

Short description of error

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
I am using Blender GIT Rev 2014-06-23-08-22-42-95d6c01 on a Fedora 20 Linux 64Bit Box
with an Intel 3000 HD GFX Card.

I noticed that in the [3D View Editor Header > Select > Grouped menu] there are 2 entries
Pass and Pass Index. As far as I can tell they seem to do the same thing specifically
select objects which have matching Pass Index number set in the
[Properties Editor > Object Context > Relations Panel > Pass Index].

Isn't Pass supposed to select objects based on the render layer they belong to and
Pass Index supposed to select objects based on the Pass Index number? Or is it
the other way around?

I have attached a blend file with some text object on different render layers and
with various Pass Index numbers. If you use either of the functions mentioned above
only the pass index number seems to be being used for the text object you select.
The different render layers dont seems to be noticed.

Apologies if I am misunderstanding the use of these two functions.

system-info.txt

3D_View_Editor_Header_-Select-Grouped-Pass_Pass_Index_Bug.blend

**System Information** Operating system and graphics card **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) Worked: (optional) **Short description of error** **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps I am using Blender GIT Rev 2014-06-23-08-22-42-95d6c01 on a Fedora 20 Linux 64Bit Box with an Intel 3000 HD GFX Card. I noticed that in the [3D View Editor Header > Select > Grouped menu] there are 2 entries Pass and Pass Index. As far as I can tell they seem to do the same thing specifically select objects which have matching Pass Index number set in the [Properties Editor > Object Context > Relations Panel > Pass Index]. Isn't Pass supposed to select objects based on the render layer they belong to and Pass Index supposed to select objects based on the Pass Index number? Or is it the other way around? I have attached a blend file with some text object on different render layers and with various Pass Index numbers. If you use either of the functions mentioned above only the pass index number seems to be being used for the text object you select. The different render layers dont seems to be noticed. Apologies if I am misunderstanding the use of these two functions. [system-info.txt](https://archive.blender.org/developer/F95442/system-info.txt) [3D_View_Editor_Header_-_Select_-_Grouped_-_Pass_Pass_Index_Bug_.blend](https://archive.blender.org/developer/F95443/3D_View_Editor_Header_-_Select_-_Grouped_-_Pass_Pass_Index_Bug_.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @TerryWallwork-1

Added subscriber: @TerryWallwork-1
Member

Added subscriber: @LukasTonne

Added subscriber: @LukasTonne
Member

Indeed it looks like the PASS and PASS_INDEX modes use exactly the same code:

pass: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/object/object_select.c$722
pass index: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/object/object_select.c$678

Note that PASS is the older function, added in the first 2.5 porting stages, while PASS_INDEX is a later addition: 7a6919a

Indeed it looks like the `PASS` and `PASS_INDEX` modes use exactly the same code: pass: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/object/object_select.c$722 pass index: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/object/object_select.c$678 Note that `PASS` is the older function, added in the first 2.5 porting stages, while `PASS_INDEX` is a later addition: 7a6919a

This issue was referenced by 330633f063

This issue was referenced by 330633f063fdba9c950c4e5093a185ca5a8cdaca
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Closed by commit 330633f063.

Closed by commit 330633f063.
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#40785
No description provided.