Mike Erwin [Tue, 19 Jul 2011 04:12:49 +0000 (04:12 +0000)]
translated ndof menu from C to Python, enabled helicopter fly mode
Mike Erwin [Mon, 18 Jul 2011 22:42:09 +0000 (22:42 +0000)]
consistent Starting/InProgress/Finishing ndof events with dead-zone filtering
Mike Erwin [Mon, 18 Jul 2011 22:37:48 +0000 (22:37 +0000)]
switched off ndof fly logging (receiving end)
Mike Erwin [Thu, 14 Jul 2011 22:01:09 +0000 (22:01 +0000)]
removed unused ndof code
Mike Erwin [Thu, 14 Jul 2011 21:20:45 +0000 (21:20 +0000)]
more consistent and modal-friendly ndof events, fly mode v1
Mike Erwin [Thu, 14 Jul 2011 03:28:31 +0000 (03:28 +0000)]
disable old ndof fly (new stuff en route from another machine)
Mike Erwin [Thu, 14 Jul 2011 03:27:33 +0000 (03:27 +0000)]
introduce variables for ndof settings
Mike Erwin [Wed, 6 Jul 2011 18:50:59 +0000 (18:50 +0000)]
various fixes to enable MSVC build, removed crusty old Win32 ndof code
Mike Erwin [Wed, 6 Jul 2011 17:10:38 +0000 (17:10 +0000)]
refitted old ndof fly code for 2.5, removed crusty old code
Mike Erwin [Fri, 1 Jul 2011 21:51:44 +0000 (21:51 +0000)]
implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code
Mike Erwin [Fri, 1 Jul 2011 03:54:23 +0000 (03:54 +0000)]
ndof device detection now visible in log
Mike Erwin [Fri, 1 Jul 2011 03:44:03 +0000 (03:44 +0000)]
verbose ndof event trace for a tester
Mike Erwin [Fri, 1 Jul 2011 01:00:20 +0000 (01:00 +0000)]
ndof popup menu (experimental (mostly harmless))
Mike Erwin [Fri, 1 Jul 2011 00:58:47 +0000 (00:58 +0000)]
tiny compile fix for PowerMac
Mike Erwin [Tue, 28 Jun 2011 21:20:47 +0000 (21:20 +0000)]
updated build script for SpaceNav on Linux -- was foolishly relying on user-config.py
Mike Erwin [Tue, 28 Jun 2011 15:59:46 +0000 (15:59 +0000)]
enabled pan/zoom in rotation-locked 3D views + small cleanup
Mike Erwin [Tue, 28 Jun 2011 15:57:39 +0000 (15:57 +0000)]
made Pascal string less intrusive to build systems
Mike Erwin [Mon, 27 Jun 2011 23:24:24 +0000 (23:24 +0000)]
first attempt at CMake fix (untested)
Mike Erwin [Mon, 27 Jun 2011 21:52:33 +0000 (21:52 +0000)]
Windows ndof now uses blender view coordinates
Mike Erwin [Mon, 27 Jun 2011 20:44:23 +0000 (20:44 +0000)]
Mac ndof using blender view coordinates + small but important typo fixed
Mike Erwin [Mon, 27 Jun 2011 20:18:04 +0000 (20:18 +0000)]
removed unneeded cleanup code on Linux
Mike Erwin [Mon, 27 Jun 2011 20:12:10 +0000 (20:12 +0000)]
now using blender view coordinates for ndof input -- core and Linux in place
Mike Erwin [Sat, 25 Jun 2011 18:53:06 +0000 (18:53 +0000)]
NDOF zoom for orbit modes (trackball/turntable) in 3D view
Mike Erwin [Sat, 25 Jun 2011 18:51:29 +0000 (18:51 +0000)]
NDOF pan/zoom/fit working in image/uv editor
Mike Erwin [Sat, 25 Jun 2011 18:50:03 +0000 (18:50 +0000)]
baby steps toward an NDOF popup menu
Mike Erwin [Sat, 25 Jun 2011 18:48:53 +0000 (18:48 +0000)]
suppressed annoying log in Mac NDOF system
Mike Erwin [Mon, 20 Jun 2011 21:34:23 +0000 (21:34 +0000)]
ndof trackball works... somehow
Nathan Letwory [Mon, 20 Jun 2011 13:04:11 +0000 (13:04 +0000)]
Compile fix. Note that var introduction must happen at start of code block.
Mike Erwin [Mon, 20 Jun 2011 01:54:49 +0000 (01:54 +0000)]
small fix to turntable mode, first attempt at trackball code, ndof now respects view locking and updates 'User Persp' etc.
Mike Erwin [Sat, 18 Jun 2011 20:32:14 +0000 (20:32 +0000)]
disabled debug logging now that a workaround is in place (Win32 ndof buttons)
Mike Erwin [Sat, 18 Jun 2011 20:30:09 +0000 (20:30 +0000)]
resolved collision among WM event types, ndof no longer encroaches on keyboard turf
Mike Erwin [Sat, 18 Jun 2011 19:40:30 +0000 (19:40 +0000)]
SpacePilotPro has 31 buttons, not 29 -- '+' and '-' work again
Mike Erwin [Sat, 18 Jun 2011 16:50:54 +0000 (16:50 +0000)]
ndof device detection on Windows, safer button handling
Mike Erwin [Fri, 17 Jun 2011 22:45:33 +0000 (22:45 +0000)]
tiny fix for Linux
Mike Erwin [Fri, 17 Jun 2011 22:19:16 +0000 (22:19 +0000)]
filled out USB product IDs for all 3Dconnexion devices
Mike Erwin [Fri, 17 Jun 2011 21:04:23 +0000 (21:04 +0000)]
updated Mac code to work with latest 3Dx beta driver -- all buttons work now
Mike Erwin [Fri, 17 Jun 2011 19:48:26 +0000 (19:48 +0000)]
finished Mac NDOF device detection, moved core device ID to base NDOFManager, clarified info/error messages
Mike Erwin [Fri, 17 Jun 2011 16:10:06 +0000 (16:10 +0000)]
NDOF device detection on Mac -- phase 1
Mike Erwin [Thu, 16 Jun 2011 19:45:38 +0000 (19:45 +0000)]
Standard views (front, top, etc.) work from buttons on SpaceExplorer and SpacePilotPro. Linux can now determine which NDOF device is plugged in.
Mike Erwin [Wed, 15 Jun 2011 20:56:42 +0000 (20:56 +0000)]
cleaned up event logging, added HID -> function table for SpacePilot PRO
Mike Erwin [Wed, 15 Jun 2011 19:57:10 +0000 (19:57 +0000)]
fixed typos, renamed the HID -> function lookup tables
Mike Erwin [Wed, 15 Jun 2011 19:45:00 +0000 (19:45 +0000)]
mapping HID button codes -> functions, for SpaceNavigator and SpaceExplorer
Mike Erwin [Wed, 15 Jun 2011 16:05:10 +0000 (16:05 +0000)]
handle up to 32 buttons (up from 16), for SpacePilot PRO
Mike Erwin [Wed, 15 Jun 2011 02:40:25 +0000 (02:40 +0000)]
removed temporary debug logging
Mike Erwin [Sat, 11 Jun 2011 02:26:28 +0000 (02:26 +0000)]
split Win32 NDOF manager into 2 files to fix Mac scons build
Mike Erwin [Sat, 11 Jun 2011 00:58:49 +0000 (00:58 +0000)]
one small change -- SpaceNav works on Windows
Mike Erwin [Sat, 11 Jun 2011 00:25:48 +0000 (00:25 +0000)]
SpaceNav works on Linux
Mike Erwin [Fri, 10 Jun 2011 01:34:53 +0000 (01:34 +0000)]
Made WinXP or later required, SpaceNav (almost) working on Windows
Mike Erwin [Wed, 8 Jun 2011 21:18:03 +0000 (21:18 +0000)]
migrated NDOF code from soc-2010-merwin, SpaceNavigator now works on Mac blender
Mike Erwin [Mon, 6 Jun 2011 20:53:58 +0000 (20:53 +0000)]
clean branch for spacenav/ndof/3D mouse integration
Brecht Van Lommel [Mon, 6 Jun 2011 20:04:58 +0000 (20:04 +0000)]
UI: fix render properties panel order, it didn't match order in startup.blend,
so was different when opening a new property editor.
Brecht Van Lommel [Mon, 6 Jun 2011 19:44:28 +0000 (19:44 +0000)]
UI: rename mesh Settings panel to Texture Space, since it only contains
settings related to that. Also close by default.
Sergey Sharybin [Mon, 6 Jun 2011 19:33:38 +0000 (19:33 +0000)]
One more debug line was deleted from multires bakers.
Now it would work really fast.
Sergey Sharybin [Mon, 6 Jun 2011 19:06:44 +0000 (19:06 +0000)]
Fix for new baker and float images. Also removed code used for debugging.
Ton Roosendaal [Mon, 6 Jun 2011 18:04:57 +0000 (18:04 +0000)]
2.5 todo:
User setting "DPI" now works for outliner too.
(todo: color picker, brush menu, nodes, fileselect path buttons, view2d sliders, ...)
Campbell Barton [Mon, 6 Jun 2011 17:50:20 +0000 (17:50 +0000)]
Support for update callbacks in python defined RNA properties as discussed last meeting.
This means script authors can perform actions using these callbacks rather then on drawing which puts blender in a readonly state.
Simple example:
import bpy
def up_func(self, context):
print("test")
bpy.types.Scene.testprop = bpy.props.FloatProperty(update=up_func)
bpy.context.scene.testprop = 11
# prints -> test
Campbell Barton [Mon, 6 Jun 2011 16:00:32 +0000 (16:00 +0000)]
avoid cd'ing with the makefile stub
Brecht Van Lommel [Mon, 6 Jun 2011 13:35:43 +0000 (13:35 +0000)]
Keymaps: fix keymap items created in python being added with the python
operator names instead of the internal names. This wasn't really noticeable,
expect that it broke automatically looking up shortcuts for display in menus.
Thomas Dinges [Mon, 6 Jun 2011 12:52:26 +0000 (12:52 +0000)]
2.5 Text Editor:
* Added back Red Alert for "Resolve External conflicts" warning.
Campbell Barton [Mon, 6 Jun 2011 11:56:54 +0000 (11:56 +0000)]
bug [#27582] Screen Editing > Split and Join area don't work.
added 'INTERNAL' operator flag so operators which are only meant to be called by other operators or internal use are not displayed to the user.
Currently only use this flag for the operator search toolbox, is ignored in debug mode.
Sergey Sharybin [Mon, 6 Jun 2011 11:04:54 +0000 (11:04 +0000)]
Added cancel callbacks to modal operators which allocates memory
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
Campbell Barton [Mon, 6 Jun 2011 10:08:27 +0000 (10:08 +0000)]
fix for 2D paint being off by 1 pixel on x/y axis, most obvious when zoomed in.
Campbell Barton [Mon, 6 Jun 2011 09:12:03 +0000 (09:12 +0000)]
use the same stippled drawing for colorband background as alpha color swatches, with low DPI would look squashed, also use the same colors for both.
Campbell Barton [Mon, 6 Jun 2011 08:43:17 +0000 (08:43 +0000)]
fix/workaround [#27559] Color picker fails with a very small brush
fade out small brushes so the brush wont interfere with the color directly under the cursor.
Campbell Barton [Mon, 6 Jun 2011 08:40:47 +0000 (08:40 +0000)]
fix from nico_ga on IRC, building on MSVC with jack but not ffmpeg.
Campbell Barton [Mon, 6 Jun 2011 07:29:57 +0000 (07:29 +0000)]
object-mode lattice bounds were not taken into account when calculating min/max.
effected view-selected, center-origin & local view.
Campbell Barton [Mon, 6 Jun 2011 06:40:09 +0000 (06:40 +0000)]
fix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice.
Campbell Barton [Mon, 6 Jun 2011 03:53:22 +0000 (03:53 +0000)]
Resolve 2 theme issues
[#27056] default active and selected colors need to be visually different
[#27584] Please change sharpness/seam color
Campbell Barton [Mon, 6 Jun 2011 00:48:10 +0000 (00:48 +0000)]
spelling corrections
Campbell Barton [Mon, 6 Jun 2011 00:42:36 +0000 (00:42 +0000)]
fix for crash opening the file selector twice with multiple windows open (when the mouse was over the inactive window).
Dalai Felinto [Sun, 5 Jun 2011 23:38:11 +0000 (23:38 +0000)]
replacing -> arrows by proper ASCII arrows on Transformation Constraint
Note: Text Editor doesn't support this chr(187) properly. I hardcoded and commented the ui file. I hope it's fine.
Matt Ebb [Sun, 5 Jun 2011 22:35:37 +0000 (22:35 +0000)]
Fix [#27438] Volume Material Density Inaccuracy
Lower density limit for shading optimisation was set too high
Sergey Sharybin [Sun, 5 Jun 2011 20:54:04 +0000 (20:54 +0000)]
Bake from multires mesh
=======================
Added option to baked named "Bake From Multires" which is avaliable for
normals baking and displacement baking.
If this option is enabled, then no additional hi-res meshes and render
structures would be created . This saves plenty of memory and meshes
with millions of faces could be successfully baked in few minutes.
Baking happens from highest level against viewport subdivision level,
so workflow is following:
- Set viewport level to level at which texture would be applied
during final rendering.
- Choose Displacement/Normals baking.
- Enable "Bake From Multires" option.
- You're ready to bake.
Displacement baker had aditional option named "Low Resolution Mesh".
This option is used to set if you want texture for realtime (games)
usage.
Internally it does the following:
- If it's disabled, displacement is calculated from subdivided
viewport level, so texture looks "smooth" (it's how default
baked works).
- If it's enabled, dispalcement is calculated against unsubdivided
viewport levels. This leads to "scales". This isn;t useful for
offline renders much, but very useful for creating game textures.
Special thanks to Morten Mikkelsen (aka sparky) for all mathematics
and other work he've done fr this patch!
Jason Wilkins [Sun, 5 Jun 2011 18:00:24 +0000 (18:00 +0000)]
fixed warning, signed/unsigned mismatch, blo/readfile.c line 1742
Campbell Barton [Sun, 5 Jun 2011 17:02:57 +0000 (17:02 +0000)]
operator buttons get a red highlight when alert is set for the layout
Campbell Barton [Sun, 5 Jun 2011 15:29:50 +0000 (15:29 +0000)]
own commit r37199 gave problems with duplicating objects, use different fix.
Campbell Barton [Sun, 5 Jun 2011 14:00:06 +0000 (14:00 +0000)]
file selector now scales with DPI better
Campbell Barton [Sun, 5 Jun 2011 13:20:30 +0000 (13:20 +0000)]
colorband and image header were ignoring DPI size
Ton Roosendaal [Sun, 5 Jun 2011 12:57:09 +0000 (12:57 +0000)]
Bugfix: new DPI-controlled UI size code was setting 'view2d re-init'
flag on ED_area_initialize(). This however was causing 2 problems;
- the view state got reset (popping window view back)
- the view2d operator polls failed (sliders didnt work)
This re-init was only needed for the headers though, limiting it
to these types of regions solves it.
Campbell Barton [Sun, 5 Jun 2011 12:47:17 +0000 (12:47 +0000)]
panel headers were not scaling with DPI properly
Campbell Barton [Sun, 5 Jun 2011 10:05:13 +0000 (10:05 +0000)]
scale the file selector UI with the DPI, the region size can still be wrong though.
Campbell Barton [Sun, 5 Jun 2011 09:22:14 +0000 (09:22 +0000)]
workaround for supremely annoying UI glitch where you could accidentally hide the file selector header by accident.
using the logic - that a header taking up the full screen-area height will not have an action-zone added for resizing.
Campbell Barton [Sun, 5 Jun 2011 09:00:36 +0000 (09:00 +0000)]
with the new scalable UI. hard coded values were still used for resizing the headers, with DPI of 56 the headers could not be un-hidden.
Campbell Barton [Sun, 5 Jun 2011 08:18:37 +0000 (08:18 +0000)]
py/drivers disable dont interning strings, no need really since this isnt done on every execution.
Campbell Barton [Sun, 5 Jun 2011 07:55:18 +0000 (07:55 +0000)]
compile without splash and icons when WITH_HEADLESS is set.
Campbell Barton [Sun, 5 Jun 2011 04:52:32 +0000 (04:52 +0000)]
fix [#27554] vertex group names
- duplicate vertex group names were not being checked for.
- also made the first duplicate end with .001 rather than .000
Guillermo S. Romero [Sun, 5 Jun 2011 00:10:20 +0000 (00:10 +0000)]
SVN maintenance.
Daniel Salazar [Sat, 4 Jun 2011 23:02:44 +0000 (23:02 +0000)]
Changed "Convert" to "Convert to" since the first one is incorrect. Removed some dots at the end of tooltips following the standard
Ton Roosendaal [Sat, 4 Jun 2011 17:03:46 +0000 (17:03 +0000)]
Code holiday commit:
- fix: user pref, window title was reset to 'Blender' on tab usage
- Undo history menu back:
- name "Undo History"
- hotkey alt+ctrl+z (alt+apple+z for mac)
- works like 2.4x, only for global undo, editmode and particle edit.
- Menu scroll
- for small windows or screens, popup menus now allow to display
all items, using internal scrolling
- works with a timer, scrolling 10 items per second when mouse
is over the top or bottom arrow
- if menu is too big to display, it now draws to top or bottom,
based on largest available space.
- also works for hotkey driven pop up menus.
- User pref "DPI" follows widget/layout size
- widgets & headers now become bigger and smaller, to match
'dpi' font sizes. Works well to match UI to monitor size.
- note that icons can get fuzzy, we need better mipmaps for it
Campbell Barton [Sat, 4 Jun 2011 14:12:55 +0000 (14:12 +0000)]
CMake option 'WITH_HEADLESS' to build blender in headless mode (no x11/xlib) with NULL ghost classe.
Campbell Barton [Sat, 4 Jun 2011 11:06:41 +0000 (11:06 +0000)]
edits to make these cmake files compatible with my own basic cmake parser which checks for correctness in our files.
Campbell Barton [Sat, 4 Jun 2011 10:39:04 +0000 (10:39 +0000)]
fix [#27568] Segmentation fault in Sequencer when adding an effect strip with python
disallow negative length effect strips.
Daniel Salazar [Sat, 4 Jun 2011 08:09:34 +0000 (08:09 +0000)]
UI for texture space in mesh/curve/mball data properties
http://pasteall.org/pic/show.php?id=13244
Campbell Barton [Sat, 4 Jun 2011 03:07:56 +0000 (03:07 +0000)]
quiet 2 compiler warnings and update man page
Sergey Sharybin [Fri, 3 Jun 2011 21:36:39 +0000 (21:36 +0000)]
Fix for linux buildslaves. Now they should be able to compile branches.
Brecht Van Lommel [Fri, 3 Jun 2011 20:44:23 +0000 (20:44 +0000)]
BuildBot: various changes to support building branches.
Dalai Felinto [Fri, 3 Jun 2011 07:53:55 +0000 (07:53 +0000)]
BugFix: [#27556] Replace mesh for gfx in "Edit Object" actuator act illogically + other booleans that are flipped
Now I think we are all good. We still have a few actuators that were using TOGN before but that I didn't make as negative_boolean.
All fixed now:
- parent actuator
- edit object actuator
- action actuator
- shape actuator
Janne Karhu [Fri, 3 Jun 2011 05:51:39 +0000 (05:51 +0000)]
Fix for [#27461] Particle Instance modifier doesn't work correctly with Hair Dynamics.
* Wrong matrix used for dynamic hair.
Campbell Barton [Fri, 3 Jun 2011 04:39:18 +0000 (04:39 +0000)]
disable python/string enum duplication from last commit because the array of duplicated strings can be freed and the pointers to the strings referenced still, the problem with python freeing strings that RNA references remains.
Campbell Barton [Fri, 3 Jun 2011 04:21:41 +0000 (04:21 +0000)]
when making the C/RNA copy of the python enum, duplicate all strings since theres no guarantee python wont free them immediately after, though in practice this isn't so common.