Campbell Barton
bd57ec686c
Fix T39397: Leaving leaving camera from quadview set ortho
2014-03-25 15:14:34 +11:00
Sergey Sharybin
1781928f9d
Fix T39305: Matcap Crash when using Material Nodes in Blender Internal
...
This is a regression in d34d745 , texture painting didn't set is_paint
if draw type < DT_SOLID which is weird.
2014-03-21 15:17:43 +06:00
Bastien Montagne
0f95149a78
Fix T39306: Backface culling in Multitexture always uses mat game settings
...
Trying to use mat game settings in 3DView makes sense - but only when we are using "Game Engine" as 'renderer'!
Note GLSL code completely ignores mat game settings currently, could be added too...
2014-03-21 10:11:54 +01:00
Campbell Barton
e5f1c0bd63
View3D: remove orbit snapping LUT, allow to snap axis but not roll
2014-03-20 15:19:02 +11:00
Campbell Barton
aee30184f3
View3D: avoid matrix multiply using ED_view3d_boundbox_clip
2014-03-20 12:20:15 +11:00
Campbell Barton
7a3ec0d9c7
Error in last commit
2014-03-20 11:49:01 +11:00
Campbell Barton
50309fcbe8
Vertex Paint: inverted line drawing, white lines were often hard to see
2014-03-20 11:44:48 +11:00
Campbell Barton
284a352120
Vertex Paint: use solid shading, shadeless in wire (like wpaint)
2014-03-20 11:35:31 +11:00
Bastien Montagne
df25dbf917
Fix T39252: Regression: Auto perspective fails when switching from {front, side, top} to camera view, and then to user persp.
...
When leaving cam view, if autopersp is ON, and previous view was an axis one, we have to force new view in perspective mode - else, we reuse previous stored mode (persp or ortho).
2014-03-18 19:50:20 +01:00
Campbell Barton
a861e5572a
UI: Add theme color for viewport overlay
...
Was using wire or black in many places, this color is used for cursor,
camera guides, transform helper lines. So its possible to have a dark
background with light overlay color.
Patch D331 by Brita, with some edits.
2014-03-18 05:40:18 +11:00
Campbell Barton
ec4e12d9a2
Code cleanup: comments and typos
2014-03-18 05:40:18 +11:00
Sergey Sharybin
0a3850fde4
Fix T39123: Border select without "extend" does nor clear selection of bezier nodes in 3D view
...
This is a regression introduced in fbc7ab30f and caused by the wrong object
being passed to the function.
Not sure passing editnurb as an argument is a good thing to do..
2014-03-12 14:07:26 +06:00
Bastien Montagne
997b49a5f3
Fix for own rB6919ffbf4b2f (we only consider unit scale when we do use a unit system!).
...
Noted by Campbell, thanks!
2014-03-11 16:58:09 +01:00
Bastien Montagne
6919ffbf4b
Fix T39112: increment snap does not work in perspective view at 0.01 scale (for scene and grid floor)
...
In case of "floor" grid (i.e. perspective views), unit_scale correction was not applied...
2014-03-11 16:38:08 +01:00
Sergey Sharybin
df5cbfb625
Fix T39070: Custom bone shapes appear only one sided
...
The idea is simple -- only enable culling for bones if they're not using
custom shape or if culling is enabled in shading panel.
2014-03-11 13:14:29 +06:00
Sergey Sharybin
12c56d8c1f
Fix T39101: Can not select object on backface by clicking when Matcap is on
2014-03-11 12:56:08 +06:00
Campbell Barton
4cfd14644b
3D Text: textbox selection while in editmode
...
D395 from Henrik Aarnio with some improvements.
2014-03-11 17:16:08 +11:00
Campbell Barton
57dba73917
View3d: take pixelsize into account for selection distance
2014-03-11 15:34:19 +11:00
Lukas Tönne
08444518e6
Removing ParticleSystem->frand arrays to avoid memory corruption issues
...
in threaded depgraph updates and effector list construction.
Gathering effectors during depgraph updates will call the
psys_check_enabled function. This in turn contained a DNA alloc call
for the psys->frand RNG arrays, which is really bad because data must be
immutable during these effector constructions.
To avoid such allocs the frand array is now global for all particle
systems. To avoid correlation of pseudo-random numbers the psys->seed
value is complemented with random offset and multiplier for the actual
float array. This is not ideal, but work sufficiently well (given that
random numbers were already really limited and show repetition quite
easily for particle counts > PSYS_FRAND_COUNT).
2014-03-07 11:20:45 +01:00
Campbell Barton
11112a8953
Fixes for view3d rotate axis snapping
...
- turntable would lockup when snapping, not allowing further rotation.
- userpref rotate-about-selection was ignored (causing strange panning)
2014-03-03 15:08:28 +11:00
Campbell Barton
6137ae29c1
Fix for problem with fly speed, caused by other speed tweaks.
2014-03-03 01:09:40 +11:00
Campbell Barton
6b693ab7bf
NDOF: add navigation modes to user preferences
...
also comment debug prints for raytracing
2014-03-01 21:47:46 +11:00
Campbell Barton
176f1aad3d
Fix for using non camera objects as a camera having zero area view-frame
2014-03-01 21:41:07 +11:00
Campbell Barton
9737717234
Fix for some unlikely memory leaks, remove redundant checks
2014-03-01 20:14:20 +11:00
Campbell Barton
9742a6f6cb
Resolve T38899: changes to Ctrl+Selectmouse conflict with LMB select
2014-03-01 19:26:55 +11:00
Campbell Barton
13ea967cce
Code cleanup: correct abs use and quiet warnings
2014-03-01 14:26:18 +11:00
Campbell Barton
a04c132a7e
NDOF: minor tweaks based on feedback.
...
- invert Y axis when swap YZ is enabled.
- allow rotating when not in ortho mode.
2014-02-28 22:07:53 +11:00
Campbell Barton
26133a96ae
Fix for VIEW3D_OT_camera_to_view with quadview, disable in camera view
2014-02-27 11:33:27 +11:00
Campbell Barton
bb1164a798
Fix for view3d name getting concatenated
2014-02-27 11:31:23 +11:00
Sergey Sharybin
3b44ca08a9
Fix 3D tracks to mesh not aligning mesh properly
...
Also fixed wrong frame number used for reconstructed object
visualization in 3D viewport.
2014-02-26 19:40:04 +06:00
Campbell Barton
4a61df9c95
Fix T38837: Ctrl+RMB can't select posemode
...
This used to work (unintentionally), now check for paint-select
modes as well as editmode for ctrl+rmb to force object selection.
2014-02-26 16:05:29 +11:00
Campbell Barton
081a3412a9
Paint API: add BKE_paint_select_elem_test: to check on paint selection
2014-02-26 16:00:54 +11:00
Campbell Barton
1dd7e759a0
Sculpt: allow to select objects when in sculpt mode
...
This was disabled with circle select (which makes sense), but all other
paint modes allow this and sculpt isnt using select mouse.
2014-02-26 15:41:42 +11:00
Campbell Barton
dde6642dde
Fix T38784: smoothview using perspective transition with ortho camera
2014-02-25 01:04:18 +11:00
Campbell Barton
5e11f7f610
Fix for recent changes with NDOF
2014-02-24 17:21:25 +11:00
Campbell Barton
021b07e87c
NDOF: various fixes for view3d
...
- allow zooming when in ortho+user mode
- fix for using VIEW3D_OT_ndof_orbit_zoom when the camera is locked.
- fix for locked camera changing the dist value when used with ndof.
- de-duplicate ndof_pan_zoom and ndof_all operators
2014-02-24 15:17:47 +11:00
Campbell Barton
01645ccdc6
NDOF: Auto-Depth preference was used while orbiting
2014-02-24 12:56:37 +11:00
Campbell Barton
cb3909f721
NDOF: fix for use with locked offset
...
- when locked to cursor or object. fallback to orbit and allow zoom.
- correct speed calculation in perspective mode.
2014-02-24 12:56:17 +11:00
Bastien Montagne
ea5090f8c0
Minor UI messages fixes.
2014-02-22 13:49:40 +01:00
Campbell Barton
739ae1d809
NDOF: fix for view3d ignoring lens values when panning
...
image, mce, view2d and view3d now have matching pan speed.
2014-02-22 16:30:48 +11:00
Campbell Barton
6c32192850
Reduce crease & bevel weight precision to hide float/ubyte rounding
2014-02-21 18:27:28 +11:00
Campbell Barton
ea58918171
NDOF: define 2 default navigation modes: free & orbit
...
After some discussion it seems both are valid defaults but useful for
very different purposes.
- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.
This doesn't effect orbit/pan which are available with modifier keys.
2014-02-20 12:02:59 +11:00
Campbell Barton
892be8edf7
NDOF: fix helicopter fly option, revert default to trackball.
...
Rationale for using trackball is that it allows roll which you expect
with an ndof device.
2014-02-19 21:30:57 +11:00
Campbell Barton
d56ed8dcd9
Code cleanup: de-duplicate ndof controls for walk/fly mode
2014-02-19 21:19:42 +11:00
Dalai Felinto
cbbc67a0b5
fix - T38561: Fly mode vs. Walk Mode Navigation Keyboard Controls
...
* QE as up/down to Fly Navigator
* Alt as slow modifier to Fly Navigator
* Update on Walk header info
Note: I left the original RF/Ctrl shortcuts working for fly navigator
but they are no longer visible in the header info. So old users will
still be using what they were used to, while new ones get used to what
walk navigation is using.
2014-02-18 10:08:45 -03:00
Campbell Barton
dcdb4eaf9c
NDOF: Fix for fly/walk mode ignoring axis invert options
2014-02-18 23:55:58 +11:00
Campbell Barton
c67b9f4c37
NDOF: image and clip views ignored axis invert preferences
...
also X/Y invert was swapped for 3d view.
2014-02-18 11:57:48 +11:00
Campbell Barton
787623e4a3
View3d: remove DEBUG_NDOF_MOTION, replaced by --debug-events option
...
also set rv3d->rot_angle = 0 on all ndof view3d operators
2014-02-18 08:31:08 +11:00
Sergey Sharybin
7cc954d7a7
Make it so missing curve cache doesn't crash in sequencer preview
2014-02-18 00:11:27 +06:00
Campbell Barton
d39ffd7217
NDOF: remove bias for translation
...
Was noticeable (and annoying) that different axis had different speed,
if we want to have axis bias better do as a user preference.
2014-02-17 22:17:31 +11:00