Quantcast
Download
(8 Kb)
Download
Updated: 02/21/17 10:13 PM
Pictures
File Info
Compatibility:
Homestead (2.7)
Updated:02/21/17 10:13 PM
Created:02/18/17 12:52 AM
Monthly downloads:19
Total downloads:1,663
Favorites:4
MD5:
SimplePreview (Deprecated)
Version: 2.0.0
by: Noobanidus [More]
A quick and simple addon that allows you to preview furnishing items that you have in your inventory. Unfortunately, the API does not allow any way to preview furnishing items that people have listed in guild stores or have linked in chat.

Ideally it would be nice to list all furnishing diagrams and then allow you to preview them without the need to be at a crafting station.

Simply right-click on a furnishing item and select "Preview Furnishing" to open a preview. You may repeat this on other furnishing items in your inventory. Once you are finished previewing, you will need to reopen your inventory to return your character to the screen.

Note: This update should resolve conflicts with Idle Animations and other addons that add "no-spin". If you're still getting conflicts or this causes issues, please leave a comment on the addon page.

Note: This addon is now deprecated. You should instead use Shinni's FurniturePreview, which contains features this addon does not. I will no longer be updating this addon.
2.0.0: Implement some extremely dubious code that actually does fix no-spin interactions. Hooray!

1.1.0: Switched AddMenuItem for AddCustomMenuItem from LibCustomMenu and potentially prevent insecure code errors caused by this. (If this is causing it!)

1.0.1: Fix an issue with erroneous characters appearing before the API version, causing it to always appear as out-of-date.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
1.1.0
6kB
Noobanidus
02/20/17 10:06 PM
1.0.1
1kB
Noobanidus
02/19/17 06:40 AM
1.0.0
1kB
02/18/17 12:52 AM


Post A Reply Comment Options
Unread 03/03/17, 06:28 PM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by Khedrak
Your add-on says
[Unfortunately, the API does not allow any way to preview furnishing items that people have listed in guild stores or have linked in chat.]

This is the add-on I use (FurniturePreview (Guild Stores, Merchants, Inventory, Trade etc)) and it shows furniture preview anywhere. Even stores and links in chat.

Not sure how it works but it can work. Hopefully you can find out how and update yours. It might be better who knows.

Thanks
Thanks for the link! I really appreciate it. I think I failed to notice the PREVIEW:PreviewItem function. Shinni's addon is clearly more feature-rich than mine, so I've marked mine as deprecated and directed people to use FurniturePreview instead.
Report comment to moderator  
Reply With Quote
Unread 03/02/17, 04:47 PM  
Khedrak

Forum posts: 0
File comments: 32
Uploads: 0
Your add-on says
[Unfortunately, the API does not allow any way to preview furnishing items that people have listed in guild stores or have linked in chat.]

This is the add-on I use (FurniturePreview (Guild Stores, Merchants, Inventory, Trade etc)) and it shows furniture preview anywhere. Even stores and links in chat.

Not sure how it works but it can work. Hopefully you can find out how and update yours. It might be better who knows.

Thanks
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 10:15 PM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by Noobanidus
Originally Posted by Noobanidus
I'll look into "undoing" the no-spin on my end before starting the preview. It would make more sense to do it that way than to try to have every other addon that does a no-spin compensate.
Simply adding the player fragment back into the scene is insufficient. There's obviously something else happening that's predicated on the fragment being there when the scene is loaded in the first place, which doesn't happen when the fragment is added back in manually. I'll keep looking, but this is proving more annoying than first thought.
Looks like simply hiding and then reopening the inventory after adding the player frame back in is sufficient. I've pushed an update that I'm not 100% happy with, but it will actually allow this addon to work with any other addon that adds no-spin functionality.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 08:16 PM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by Noobanidus
I'll look into "undoing" the no-spin on my end before starting the preview. It would make more sense to do it that way than to try to have every other addon that does a no-spin compensate.
Simply adding the player fragment back into the scene is insufficient. There's obviously something else happening that's predicated on the fragment being there when the scene is loaded in the first place, which doesn't happen when the fragment is added back in manually. I'll keep looking, but this is proving more annoying than first thought.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 06:54 PM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by Tierney11290
Originally Posted by Noobanidus
Originally Posted by Tierney11290
I'll check this out when I get home later. Not sure why Idle Animations is conflicting with this addon as it shouldn't have any issues. The only thing I can think of is that the "No Spin" feature of that addon is conflicting with it. If anyone can test it, try turning that feature off and use this addon again.
The conflict must be with the standard itemPreview. It's possible that I'm calling it outside of the contexts it expects to be called in (there's usually a different background when previewing items via the housing editor/crafting station), so perhaps it has something to do with that?
That's more than likely my guess. It definitely works after the No Spin feature is turned off. No clue how to fix it, but I'll mess around.
I'll look into "undoing" the no-spin on my end before starting the preview. It would make more sense to do it that way than to try to have every other addon that does a no-spin compensate.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 06:36 PM  
Tierney11290
 
Tierney11290's Avatar
AddOn Author - Click to view AddOns

Forum posts: 250
File comments: 287
Uploads: 9
Originally Posted by Noobanidus
Originally Posted by Tierney11290
I'll check this out when I get home later. Not sure why Idle Animations is conflicting with this addon as it shouldn't have any issues. The only thing I can think of is that the "No Spin" feature of that addon is conflicting with it. If anyone can test it, try turning that feature off and use this addon again.
The conflict must be with the standard itemPreview. It's possible that I'm calling it outside of the contexts it expects to be called in (there's usually a different background when previewing items via the housing editor/crafting station), so perhaps it has something to do with that?
That's more than likely my guess. It definitely works after the No Spin feature is turned off. No clue how to fix it, but I'll mess around.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 12:09 PM  
dominoid
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 278
Uploads: 2
This also appears to not work with No Thank You most likely for the same reasons as Idle Animations - no spin.
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 05:36 AM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by Tierney11290
I'll check this out when I get home later. Not sure why Idle Animations is conflicting with this addon as it shouldn't have any issues. The only thing I can think of is that the "No Spin" feature of that addon is conflicting with it. If anyone can test it, try turning that feature off and use this addon again.
The conflict must be with the standard itemPreview. It's possible that I'm calling it outside of the contexts it expects to be called in (there's usually a different background when previewing items via the housing editor/crafting station), so perhaps it has something to do with that?
Report comment to moderator  
Reply With Quote
Unread 02/21/17, 05:07 AM  
Tierney11290
 
Tierney11290's Avatar
AddOn Author - Click to view AddOns

Forum posts: 250
File comments: 287
Uploads: 9
I'll check this out when I get home later. Not sure why Idle Animations is conflicting with this addon as it shouldn't have any issues. The only thing I can think of is that the "No Spin" feature of that addon is conflicting with it. If anyone can test it, try turning that feature off and use this addon again.
Report comment to moderator  
Reply With Quote
Unread 02/19/17, 06:46 AM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by BrezzaTM
EDIT 3: Good news, I found out what the problem is. There's a compatibility issue with Idle Animations addon. Unfortunately I can't suppose why I'm not a coder, not yet . Hope this helps you. Have a nice day.
Hm, I'm not sure why there's a conflict, but I'm using the standard API preview functionality. Probably the fact that it's being called from the inventory screen where the character would normally appear might do it. Whether it conflicts with previews while at crafting stations should also be considered.

I'll make a note in the addon description.

On the matter of it being out-of-date, Ayantir discovered there were some erroneous characters somehow inserted at the start of a file, which was causing the issue. I've just uploaded a fixed which should hopefully be approved shortly.
Report comment to moderator  
Reply With Quote
Unread 02/19/17, 05:29 AM  
BrezzaTM

Forum posts: 0
File comments: 8
Uploads: 0
Originally Posted by Noobanidus
Originally Posted by BrezzaTM
This said I am here to inform you that the addon is marked as "out of date" in the corresponding menu, I'm going to try it and see if there're issues.
That is very strange. I've just triple checked the code and the current API version (100018) in the addon against the wiki and it's definitely correct, but it's showing up as out-of-date for me also. However, another addon I released recently with the 100018 version works fine... I'll look into this.
Ok thanks for your effort

Originally Posted by Noobanidus
Originally Posted by BrezzaTM
EDIT: Trying on a simple piece of furnishing I've in my bags and anything happens. Keep in mind that I have many addons and one of those is another preview addon (for armors) but it activates only when crafting. I'm going to try disabling it and see what happens.

EDIT 2: disabled but nothing changed, trying to preview "Rough Firewood, Fireplace" don't know if this helps, I'm going to disable every addon but yours and retry.
I assume you were looking at the furnishing in your inventory, that you right clicked and selected "Preview Furnishing" and nothing happened?

I just did the above and was able to preview it correctly, screenshot: http://i.imgur.com/FnmBi4A.jpg
In the 3rd EDIT there's the reason
Last edited by BrezzaTM : 02/19/17 at 05:30 AM.
Report comment to moderator  
Reply With Quote
Unread 02/19/17, 05:26 AM  
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 55
Uploads: 23
Originally Posted by BrezzaTM
This said I am here to inform you that the addon is marked as "out of date" in the corresponding menu, I'm going to try it and see if there're issues.
That is very strange. I've just triple checked the code and the current API version (100018) in the addon against the wiki and it's definitely correct, but it's showing up as out-of-date for me also. However, another addon I released recently with the 100018 version works fine... I'll look into this.

Originally Posted by BrezzaTM
EDIT: Trying on a simple piece of furnishing I've in my bags and anything happens. Keep in mind that I have many addons and one of those is another preview addon (for armors) but it activates only when crafting. I'm going to try disabling it and see what happens.

EDIT 2: disabled but nothing changed, trying to preview "Rough Firewood, Fireplace" don't know if this helps, I'm going to disable every addon but yours and retry.
I assume you were looking at the furnishing in your inventory, that you right clicked and selected "Preview Furnishing" and nothing happened?

I just did the above and was able to preview it correctly, screenshot: http://i.imgur.com/FnmBi4A.jpg
Report comment to moderator  
Reply With Quote
Unread 02/19/17, 03:16 AM  
BrezzaTM

Forum posts: 0
File comments: 8
Uploads: 0
Good morning,

first of all let me say that this addon is very nice, I like preview addons 'cause I like to see how a thing looks like before using mats to craft it

This said I am here to inform you that the addon is marked as "out of date" in the corresponding menu, I'm going to try it and see if there're issues.

Anyway, good job

EDIT: Trying on a simple piece of furnishing I've in my bags and anything happens. Keep in mind that I have many addons and one of those is another preview addon (for armors) but it activates only when crafting. I'm going to try disabling it and see what happens.

EDIT 2: disabled but nothing changed, trying to preview "Rough Firewood, Fireplace" don't know if this helps, I'm going to disable every addon but yours and retry.

EDIT 3: Good news, I found out what the problem is. There's a compatibility issue with Idle Animations addon. Unfortunately I can't suppose why I'm not a coder, not yet . Hope this helps you. Have a nice day.
Last edited by BrezzaTM : 02/19/17 at 05:19 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: