Commit Graph

3051 Commits

Author SHA1 Message Date
4d37cf90b9 remove G.sce, use G.main->name instead.
Both stored the filename of the blend file, but G.sce stored the last opened file.
This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore).

Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-18 06:41:16 +00:00
7d10ad012d fix for bad use of UNUSED() with win32 & some other minor error checks. 2010-10-17 08:59:23 +00:00
30b79ddcc6 - fixed remaining unused warnings.
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-17 06:38:56 +00:00
8268a4be71 most unused arg warnings corrected.
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
e5fbd93cec editors/space_* build without unused args warnings 2010-10-16 08:03:28 +00:00
db09ca106d remove/tag unused args for view*.c, gpu*.c & image*.c 2010-10-15 12:29:02 +00:00
fbf208d63f add UNUSED() to modifiers, also removed some unused args. 2010-10-14 06:29:17 +00:00
7ef6836be4 bugfix [#24144] Small problem with texture (r32316)
an extra pixel was being drawn on a tiled image texture.
2010-10-12 08:32:53 +00:00
Nathan Letwory
737bc66f2a Add note about Inv Quad falloff of lamp that there seems to be a hack in use. 2010-10-11 09:52:25 +00:00
d7cd6e349d Merged changes in the trunk up to revision 32390. 2010-10-09 22:30:01 +00:00
8a4fe62843 misc fixes found with clang's static checker. 2010-10-07 10:04:07 +00:00
352fbb1549 remove unused vol_get_density() call. 2010-10-06 14:53:13 +00:00
61d23ff95b minor edits so traceray() uses less stack memory, also remove memset() usage, initialize as {0}.
no functional change.
2010-10-06 14:47:40 +00:00
854ef17700 Merged changes in the trunk up to revision 32271. 2010-10-03 11:33:32 +00:00
3716e6a176 Fix #24097: halfway shadow buffer rendererd incorrectly with spot halo. This
trick can't work with any volumetric effect, so disabled it in case halo is
enabled.
2010-10-02 10:39:53 +00:00
df528a9209 Merged changes in the trunk up to revision 32124. 2010-09-25 21:03:16 +00:00
02fd98e1cf Fix #23170: multithreaded texture baking could give wrong results with margin,
with some threads not writing the margin mask.
2010-09-23 21:38:01 +00:00
f88ad3f048 bugfix [#23595] Texture paint with a node based brush produces artifacts
also changed displace modifier not to link object depgraph when not using object texturespace.
2010-09-23 12:03:34 +00:00
aff24bdc07 Fix error in normal flipping commit, that showed wrong result especially
with ray transparency + normals pointing away from the camera.
2010-09-20 19:57:14 +00:00
2ae4b2b687 bugfix [#23906] Cloud generate/degenerate crashes renderer 2010-09-20 02:53:39 +00:00
28d618e41b Merged changes in the trunk up to revision 31987. 2010-09-18 00:50:13 +00:00
9b518710c6 update for MingW/CMake
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings.
- the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-09-15 16:13:32 +00:00
82432d0d99 merge from trunk at r31523 2010-09-07 05:47:34 +00:00
9c6feb1987 * Merged changes in the trunk up to revision 31789.
* Made a local fix for a compilation error with VC++ 2008 and
CMake, reported to the bf-committers mailing list:
http://lists.blender.org/pipermail/bf-committers/2010-September/028643.html
2010-09-06 23:26:36 +00:00
bb7339a7ae merge with trunk at r31523 2010-09-04 05:31:25 +00:00
a8269c8946 SVN maintenance. 2010-09-03 03:30:20 +00:00
12f9a5de5b Merged changes in the trunk up to revision 31630. 2010-08-28 14:30:52 +00:00
77b7ba0bfb fix for dark images from the sequencer when color management is disabled.
the render engine assumes the RenderResult's rectf is not in linear color space when color management is disabled so the sequencer and opengl render need to follow this else it results in dark images.
2010-08-26 09:12:10 +00:00
92478de0eb Merged changes in the trunk up to revision 31403. 2010-08-17 07:10:03 +00:00
a91d538f47 - commit that removed MEM_guardedalloc.h includes broke building with SSE enabled.
- all C/C++ files in blender are now utf8 compatible.
2010-08-16 09:24:18 +00:00
d1759639dc - remove unused includes IMB_*, BIF_* & MEM_*
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
0738ae7688 2.5: more removal of G.main. 2010-08-13 14:23:44 +00:00
e81df3a6fa Fix #23238: crash rendering multiple scenes from compositor. 2010-08-12 13:58:10 +00:00
1a875f915d Merged changes in the trunk up to revision 31284. 2010-08-12 13:41:59 +00:00
95aa8cfa4a Update address in license block. 2010-08-10 21:22:26 +00:00
dd75ec4907 Merged changes in the trunk up to revision 31190. 2010-08-09 11:32:55 +00:00
5784b95823 Fix #23167: halo "texture" option did not take disabling of the texture
into account.
2010-08-06 16:59:19 +00:00
463c3b5cf7 Fix #23204: render disconnected hair with child particles could crash. 2010-08-06 15:31:35 +00:00
7a55728b40 Fix crash in point cache baking due to my recent changes. 2010-08-04 08:58:38 +00:00
d50cc7826f == Makefiles ==
* add support for LCMS (disabled by default, set WITH_LCMS to true to enable it)
 * fixed typo that prevented TIFF support to be properly enabled
 * enable ray optimization by default (scons and cmake already did this)
 * fixed building with libsndfile on darwin (disabled by default)
 * quicktime: use audaspace headers from $(NAN_AUDASPACE)/include instead of intern
 * gameengine: add -DWITH_FFMPEG to compiler flags when building with ffmpeg support
2010-08-04 08:42:18 +00:00
a5692fd67b Merged changes in the trunk up to revision 30952. 2010-08-01 23:37:52 +00:00
9b006d6d00 Fix preview render crash after recent G.main changes. 2010-08-01 20:36:24 +00:00
f3cca3e192 2.5: more G.main changes. 2010-08-01 12:57:01 +00:00
5fa7d1c1b4 2.5: code changes to reduce the usage of G.main and pass it along
or get it from the context instead.
2010-08-01 12:47:49 +00:00
5251a9b3bf 2.5: remove vertex normal flip option, this is more harmful than helpful
in many cases, and also gave incorrect rim lighting.
2010-07-30 11:50:00 +00:00
25762f4945 Fix weird colours in areas of high transmission when camera inside a volume. 2010-07-29 07:22:43 +00:00
2a3c1a4cf3 Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.
2010-07-28 11:10:56 +00:00
4ddcb65399 Assorted small volume render related fixes. 2010-07-28 08:06:46 +00:00
be2e221608 Merged changes in the trunk up to revision 30781. 2010-07-27 00:08:15 +00:00
62fe4bcd77 Fix #22749: texture view mapping for spot lamps wasn't doing perspective
division, giving incorrect projection.
2010-07-26 14:46:16 +00:00