Campbell Barton
7603c8a2fb
screenshot operator can now be executed directly.
...
so python can screenshot with: bpy.ops.screen.screenshot(filepath="some_image.png"):
2011-05-19 11:13:35 +00:00
Brecht Van Lommel
d77b9af609
UI: fix menus getting closed too quick when moving mouse not exactly towards
...
them, noticeable for the vertex groups or material slot utility menus.
2011-05-19 11:05:34 +00:00
Campbell Barton
1dad9bf0bc
change window_to_3d to take screen coords as floats.
2011-05-19 07:55:48 +00:00
Campbell Barton
31d3e8d214
converting grease pencil now works in the camera view.
2011-05-19 07:43:10 +00:00
Campbell Barton
1ce0958369
fix [ #27437 ] Appending armatures with custom bone shapes brings no custom objects into scene.. impossible to edit
2011-05-19 06:17:44 +00:00
Campbell Barton
32793a1395
add python access to mathutils.intersect_line_plane, update view3d_utils module to use it.
2011-05-19 04:28:09 +00:00
Campbell Barton
391dbde03d
added math function isect_line_plane_v3(), use for window_to_3d rather then having it inline.
2011-05-19 03:49:57 +00:00
Andrea Weikert
c04f9b779c
fix [ #27158 ] Appending crash with preview.
...
* fixed incorrect reading of PreviewImage struct from .blend
* fixed memory leak, PreviewImage data wasn't correctly free'd
2011-05-18 19:42:30 +00:00
Campbell Barton
91bd739a09
use window_to_3d for armature_click_extrude operator.
2011-05-18 18:14:59 +00:00
Campbell Barton
7282f8cf98
window_to_3d() wasn't working at all (only used by grease pencil/path conversion), now works in ortho and perspective view, initgrabz() is no longer needs to be called first.
2011-05-18 18:01:01 +00:00
Campbell Barton
f4d8be977f
there wasn't a good way to know if a RegionView3D was perspective or not (without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.
2011-05-18 17:52:26 +00:00
Campbell Barton
6266e62170
python mathutils.Matrix.is_orthogonal readonly attribute.
2011-05-18 15:31:00 +00:00
Brecht Van Lommel
d2b0954b2a
UI: fix access of freed memory in buttons handling code.
2011-05-18 15:23:40 +00:00
Brecht Van Lommel
a6fe2f1e18
RNA: some compile fixes for C/C++ api.
2011-05-18 12:56:58 +00:00
Brecht Van Lommel
66f51ba5d1
RNA: make mechanism used by operators to keep python instance alive more generic, to be used by render engine later.
2011-05-18 11:21:10 +00:00
Brecht Van Lommel
178ba76b09
RNA: pass Main rather than Context to register/unregister callbacks.
2011-05-18 10:56:26 +00:00
Campbell Barton
304ce06a5a
fix remaining crash from [ #27035 ] 3 problems: crash and enum "REGION" not found in ('VERTS')
2011-05-18 09:58:17 +00:00
Campbell Barton
0454c817ef
fix a crash when getting the value of an enum.
2011-05-18 09:26:07 +00:00
Campbell Barton
ebe47add08
fix for one of the issues in [ #27035 ] 3 problems: crash and enum "REGION" not found in ('VERTS')
...
now constraint macro argument shows as 'NORMAL' rather then '<UNKNOWN ENUM>'
2011-05-18 09:07:15 +00:00
Campbell Barton
5f32094bce
use ED_operator_screenactive rather then ED_operator_screenactive so transform works in background mode.
2011-05-18 08:36:06 +00:00
Campbell Barton
2fe3840780
2 minor glitches
...
- removing bone groups didnt set the next one active.
- removing poselib was using int for enum rna property.
2011-05-18 08:16:33 +00:00
M.G. Kishalmi
7e6520c080
additional bake modes
...
(refined patch #23430 )
+ specular color
+ specular intensity
+ mirror color
+ mirror intensity
+ alpha (tranparency)
+ emission (glow)
2011-05-18 07:46:54 +00:00
Campbell Barton
c92c3758a8
- check paths are not empty strings before making blend file paths absolute or relative.
...
- when saving blend file with 'Remap Relative' enabled, don't try make paths absolute if the internal filename is invalid.
- use case insensitive path comparison on windows when checking if path remapping is needed & for comparing next/prev dirs in the file selector.
2011-05-18 06:48:52 +00:00
Campbell Barton
37178ab0fd
cleanup only
...
- rename 'name', 'dir' --> 'filepath' where these actually represent a file path to avoid confusion.
- bugfix for possible (but unlikely) uninitialized string.
- remove commented script append function, now we have a python api for this.
2011-05-18 06:27:32 +00:00
Campbell Barton
edb9045824
fix [ #27405 ] Append objects with linked materials they dissapears after save
...
when linking in files to an unsaved blend file, make all library paths absolute.
2011-05-18 05:21:44 +00:00
Peter Schlaile
dc50003824
This fixes:
...
[#27422 ] Strobe setting does not work with effect strip
[#27421 ] Some Settings of Adjustment Layers are not Functional.
2011-05-17 18:37:44 +00:00
Nathan Letwory
2eed2a7f58
fix for r36723 - putting extern Material inside code like that results in wrong linking. Move to proper place so that linking goes right.
2011-05-17 16:20:07 +00:00
Campbell Barton
1294504603
fix for warning
2011-05-17 06:51:31 +00:00
Campbell Barton
0858904571
fix [ #27414 ] no-material renders differently in View3D vs BGE
...
when a texface layer exists this still overrides the default material.
2011-05-17 02:44:52 +00:00
Janne Karhu
c4dca3890b
RNA glitch: particle path step values had soft & hard limits the wrong way around.
2011-05-16 20:48:14 +00:00
Andrea Weikert
079caae727
code cleanup: icon creation
...
* changed stupid miplevel/MIPMAP naming in icon code, it was really the icon size (small icon or larger preview) that was meant there.
2011-05-16 18:37:54 +00:00
Campbell Barton
4023427fe0
set clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.
2011-05-16 18:04:19 +00:00
Peter Schlaile
ff884f4179
== Sequencer ==
...
This fixes one part of [#27353 ] VSE crashes on large M4V
StripData was alloced in full length for MOVIE and SOUND-tracks, which only
use the first element for filename storage. (StripData as an array is only
used in IMAGE strips).
Fixed the crash and documented accordingly.
2011-05-16 17:54:55 +00:00
Peter Schlaile
70b832589a
[PATCH] == Sequencer ==
...
This patch adds adjustment layer tracks to the sequencer and does some cleaning
up of the code.
What's an adjustment layer?
Think of it as an effect track, which takes no explicit input, but alters
the output of everything down the layer stack.
So: you can add several stages of color correction with it.
And: you can even use it with metastrips to group several adjustments together.
2011-05-16 17:14:47 +00:00
Brecht Van Lommel
b434e7f933
LCMS code removed, was an experiment but never finished.
2011-05-16 13:34:42 +00:00
Nathan Letwory
37e95c525d
Remove artificial limit, now HDR textures can be used to displace.
2011-05-16 11:46:16 +00:00
Campbell Barton
617d69a627
rename wave texture_coordinate_object -> texture_coords_object to match Displace and Warp modifiers.
2011-05-16 05:50:04 +00:00
Campbell Barton
80c2582f0e
enable game panel even if the BGE is disabled since its settings effect the viewport.
...
also remove unused function in creator.c and minor edit to search menu poll function.
2011-05-16 04:55:31 +00:00
Thomas Dinges
7459133648
Patch [ #27344 ] 300+ New/changed tooltips by Davis Sorenson (dsavi). Thanks a lot!
...
Reviewed by Tom Musgrove and myself.
From the patch description:
ValterVB on #blendercoders submitted a long list of missing tooltips in Blender, and I went through the list and added all I knew. After that I crowdsourced the rest by putting a spreadsheet on Google docs and having people fill in the missing ones that I didn't know. So if there's some weird tooltip in there that doesn't make sense, that's why.
Thanks to Wolter, spacetug and others on BlenderArtists for contributing tooltips.
2011-05-15 17:59:48 +00:00
Janne Karhu
f60528687f
Fix for [ #27142 ] manipulator in particle mode does not work
...
* Manipulator operator wasn't registered in particle mode.
2011-05-15 16:42:39 +00:00
Janne Karhu
b0ced3ef83
Fix for [ #27131 ] particle system BUG - one particle generated twice at vertex (e.g. 9 particles generated at 8 locations)
...
* The tiny offset value used in particle distribution code was actually too small, so that floating point errors got the best of the calculations.
2011-05-15 15:51:17 +00:00
Campbell Barton
ca3b61f578
homekey in camera view now fits the view scale as well as centering the camera.
2011-05-15 14:07:24 +00:00
Sergey Sharybin
19eb07c63d
Do not remove MDISPS customdata layer when removing multires modifier
...
and there are still another multires modifiers in the stack.
Helps to prevent loosing sculpt data when you occasionally added another
multires and reomved it with "X" button.
2011-05-15 13:13:51 +00:00
Mitchell Stokes
d05b26c635
BGE:
...
This fixes frame colors not showing up right when using letterbox in the embedded player. Frames are drawn by clearing the whole canvas and then changing the viewport to be within the frames. The problem is that the embedded player's canvas is setup to be within the frames. This means that the extra that would normally be cleared and filled with the frame color is instead the gray color of Blender's region since nothing is actually drawn there by the BGE. To solve this, I just handle the frames in BL_KetsjiEmbedStart.
2011-05-15 08:48:43 +00:00
Campbell Barton
6744123881
remove redundant (and confusing) register flag.
2011-05-15 06:29:52 +00:00
Campbell Barton
b8be69c568
camera composition guides:
...
removed diagonal golden rule (not very common), added harmonious triangle and golden triangle options.
2011-05-15 05:43:59 +00:00
Campbell Barton
99b7960781
remove some unused view3d members & added RV3D_VIEW_USER define.
...
Aligorith: replaced v3d->keyflags with ANIMFILTER_KEYS_LOCAL since v3d->keyflags couldn't be set anywhere and wasn't initialized.
2011-05-15 03:42:28 +00:00
Campbell Barton
36bec40fbc
fix for bug with camera locking, view dolly and rotate with 'about selection' preference enabled would offset the camera.
2011-05-15 03:07:07 +00:00
Campbell Barton
baa64d1751
fix for user reported issues
...
- camera object movement was missing a notifier
- auto perspective now works when rotating the view.
- shift+b now zooms.
2011-05-15 02:39:36 +00:00
Nathan Letwory
12fecba3ae
Remove files that were intended for shader branch.
2011-05-14 18:54:56 +00:00