Forum

Make "Do not export" option behave native-like

Hello. I think this is a little feature, but it could be really handy.

The thing is when you use Cycles to render an image you can control objects that are visible on scene but will not be renderable by camera button in Outliner.I think it is possible to link this button with "Do not export" checker to replicate similar behavior when pressing Fast Preview button or exporting html/json.

p.s: by the way alt+f12 is free and could be as fast preview shortcut.

Put this in an add-on, assign a key shortcut, done. Now you can press your key and all the B4W export checkboxes take on the status of the render ("Camera") buttons.

p.s: by the way alt+f12 is free and could be as fast preview shortcut.

1. Open User Preferences.2. Go to the Input Tab -> "Window" shortcuts3. Add a new shortcut at the end of the list4. As the operator identifier, give "b4w.preview"5. Assign a key of your liking, e.g. ALT+F126. Save and exit User Preferences.

3. Now repeat the steps mentioned above for the key shortcut: Go to the Input tab of User Prefs, add a new shortcut to the "Window" section; this time, the identifier is render.synchiderender. Don't forget to save user prefs.

When you press your keyboard shortcut, the objects' "do not export" checkbox states are matched to the "Camera" buttons.