Commit Graph

30028 Commits

Author SHA1 Message Date
Brecht Van Lommel
a532b9fa3e Cycles: 3d view tool properties entry in view menu. 2011-05-18 19:30:28 +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
0c41635f85 fix for python module region_2d_to_vector_3d and region_2d_to_location_3d functions in ortho mode. 2011-05-18 15:57:20 +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
88d9d89c97 Cycles: svn merge -r36495:36747 https://svn.blender.org/svnroot/bf-blender/trunk/blender/ 2011-05-18 13:56:20 +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
Brecht Van Lommel
a0ba4a771f Render API: some code refactoring related to errors and render view. 2011-05-18 10:01:41 +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
Brecht Van Lommel
dd85722678 Render API: code cleanup. 2011-05-17 16:21:06 +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
Brecht Van Lommel
0365e38c06 Render API: RenderEngine.update_progress function to set progress percentage. 2011-05-17 15:39:40 +00:00
Brecht Van Lommel
0a1223c87e Render API: add self.report() function for RenderEngine, for reporting warnings and errors. 2011-05-17 15:20:12 +00:00
Brecht Van Lommel
8da594c861 Render API: first step in updating RenderEngine to work according to:
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/RenderEngineAPI
2011-05-17 14:26:45 +00:00
Brecht Van Lommel
5f5e469110 Cycles: panel header drawing tweak. 2011-05-17 14:18:02 +00:00
Campbell Barton
3929753794 added other addon category. 2011-05-17 09:13:14 +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
5cfc13a11d fixed incorrect jemalloc library & updated netbeans project to ignore __pycache__. 2011-05-16 10:34:40 +00:00
Brecht Van Lommel
25b25059ef Cycles: fix vector math subtract not working correct, patch by Sanne. 2011-05-16 08:08:37 +00:00
Campbell Barton
68dbfe6ac9 move generic bpy helper modules into bpy_extras. 2011-05-16 07:51:02 +00:00
Campbell Barton
6c8317ae8f new empty package to move bpy utility modules into. 2011-05-16 07:48:43 +00:00
Guillermo S. Romero
9b236a7a12 SVN maintenance. 2011-05-16 06:11:14 +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
Campbell Barton
0460a68ae7 made generic module for generating project files from cmake,
added netbeans project file generator.
2011-05-16 04:04:06 +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