Mike Erwin
b2eb2a00f1
introduce variables for ndof settings
2011-07-14 03:27:33 +00:00
Mike Erwin
50ef78cdb8
various fixes to enable MSVC build, removed crusty old Win32 ndof code
2011-07-06 18:50:59 +00:00
Mike Erwin
e3c89a127d
refitted old ndof fly code for 2.5, removed crusty old code
2011-07-06 17:10:38 +00:00
Mike Erwin
14c72f379c
implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code
2011-07-01 21:51:44 +00:00
Mike Erwin
893bf5f81a
verbose ndof event trace for a tester
2011-07-01 03:44:03 +00:00
Mike Erwin
20de4f27b6
ndof popup menu (experimental (mostly harmless))
2011-07-01 01:00:20 +00:00
Mike Erwin
4178b662cc
enabled pan/zoom in rotation-locked 3D views + small cleanup
2011-06-28 15:59:46 +00:00
Mike Erwin
798f59fe68
Mac ndof using blender view coordinates + small but important typo fixed
2011-06-27 20:44:23 +00:00
Mike Erwin
edd5980436
now using blender view coordinates for ndof input -- core and Linux in place
2011-06-27 20:12:10 +00:00
Mike Erwin
b8e8f8064d
NDOF zoom for orbit modes (trackball/turntable) in 3D view
2011-06-25 18:53:06 +00:00
Mike Erwin
e61063f042
NDOF pan/zoom/fit working in image/uv editor
2011-06-25 18:51:29 +00:00
Mike Erwin
651df035f7
baby steps toward an NDOF popup menu
2011-06-25 18:50:03 +00:00
Mike Erwin
4030f82aad
ndof trackball works... somehow
2011-06-20 21:34:23 +00:00
Nathan Letwory
0faeffb8a5
Compile fix. Note that var introduction must happen at start of code block.
2011-06-20 13:04:11 +00:00
Mike Erwin
015b0ea00a
small fix to turntable mode, first attempt at trackball code, ndof now respects view locking and updates 'User Persp' etc.
2011-06-20 01:54:49 +00:00
Mike Erwin
e46e2d9d54
resolved collision among WM event types, ndof no longer encroaches on keyboard turf
2011-06-18 20:30:09 +00:00
Mike Erwin
18b5dac5ca
Standard views (front, top, etc.) work from buttons on SpaceExplorer and SpacePilotPro. Linux can now determine which NDOF device is plugged in.
2011-06-16 19:45:38 +00:00
Mike Erwin
6aa7777144
removed temporary debug logging
2011-06-15 02:40:25 +00:00
Mike Erwin
7b124242e7
SpaceNav works on Linux
2011-06-11 00:25:48 +00:00
Mike Erwin
e75ff53452
migrated NDOF code from soc-2010-merwin, SpaceNavigator now works on Mac blender
2011-06-08 21:18:03 +00:00
Sergey Sharybin
13dbae76e6
One more debug line was deleted from multires bakers.
...
Now it would work really fast.
2011-06-06 19:33:38 +00:00
Sergey Sharybin
fff0592738
Fix for new baker and float images. Also removed code used for debugging.
2011-06-06 19:06:44 +00:00
Ton Roosendaal
5fca1aa323
2.5 todo:
...
User setting "DPI" now works for outliner too.
(todo: color picker, brush menu, nodes, fileselect path buttons, view2d sliders, ...)
2011-06-06 18:04:57 +00:00
Campbell Barton
8cee328546
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
2011-06-06 17:50:20 +00:00
Brecht Van Lommel
4d254f23ca
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.
2011-06-06 13:35:43 +00:00
Campbell Barton
fc6dcdf17f
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.
2011-06-06 11:56:54 +00:00
Sergey Sharybin
a43309e8d4
Added cancel callbacks to modal operators which allocates memory
...
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
2011-06-06 11:04:54 +00:00
Campbell Barton
4d0026f7b9
fix for 2D paint being off by 1 pixel on x/y axis, most obvious when zoomed in.
2011-06-06 10:08:27 +00:00
Campbell Barton
6a1e74418c
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.
2011-06-06 09:12:03 +00:00
Campbell Barton
2f5c7623b0
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.
2011-06-06 08:43:17 +00:00
Campbell Barton
e8bc3fe0e3
object-mode lattice bounds were not taken into account when calculating min/max.
...
effected view-selected, center-origin & local view.
2011-06-06 07:29:57 +00:00
Campbell Barton
e55833a094
fix [ #27572 ] Mirror Shapekey and Mirror vertex Group not working for Lattice.
2011-06-06 06:40:09 +00:00
Campbell Barton
dd4f0f0b9d
Resolve 2 theme issues
...
[#27056 ] default active and selected colors need to be visually different
[#27584 ] Please change sharpness/seam color
2011-06-06 03:53:22 +00:00
Campbell Barton
7c9d76199c
spelling corrections
2011-06-06 00:48:10 +00:00
Campbell Barton
e4bb5403d3
fix for crash opening the file selector twice with multiple windows open (when the mouse was over the inactive window).
2011-06-06 00:42:36 +00:00
Matt Ebb
5922b69501
Fix [ #27438 ] Volume Material Density Inaccuracy
...
Lower density limit for shading optimisation was set too high
2011-06-05 22:35:37 +00:00
Sergey Sharybin
a1c22262fe
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!
2011-06-05 20:54:04 +00:00
Jason Wilkins
a580b5ec80
fixed warning, signed/unsigned mismatch, blo/readfile.c line 1742
2011-06-05 18:00:24 +00:00
Campbell Barton
68a3303013
operator buttons get a red highlight when alert is set for the layout
2011-06-05 17:02:57 +00:00
Campbell Barton
68d4c64db8
own commit r37199 gave problems with duplicating objects, use different fix.
2011-06-05 15:29:50 +00:00
Campbell Barton
08f44adba9
file selector now scales with DPI better
2011-06-05 14:00:06 +00:00
Campbell Barton
56befd2666
colorband and image header were ignoring DPI size
2011-06-05 13:20:30 +00:00
Ton Roosendaal
485a89f5d3
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.
2011-06-05 12:57:09 +00:00
Campbell Barton
619df86fad
panel headers were not scaling with DPI properly
2011-06-05 12:47:17 +00:00
Campbell Barton
24292793a0
scale the file selector UI with the DPI, the region size can still be wrong though.
2011-06-05 10:05:13 +00:00
Campbell Barton
1d236097ab
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.
2011-06-05 09:22:14 +00:00
Campbell Barton
07619d8fc0
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.
2011-06-05 09:00:36 +00:00
Campbell Barton
50d24425ce
py/drivers disable dont interning strings, no need really since this isnt done on every execution.
2011-06-05 08:18:37 +00:00
Campbell Barton
b727202921
compile without splash and icons when WITH_HEADLESS is set.
2011-06-05 07:55:18 +00:00
Campbell Barton
3a6adc0ed3
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
2011-06-05 04:52:32 +00:00