Commit Graph

21203 Commits

Author SHA1 Message Date
Matt Ebb
5d2e08cdee Fix for volume render light cache:
Now the bounding box for the light cache's voxel grid is calculated in 
global space, rather than camera space as it was previously. This fixes
flickering lighting on static volumes with camera motion, caused by
the camera space bounding box changing from frame to frame.
2010-07-22 11:54:12 +00:00
Sergey Sharybin
33cb2f93ff Fix #22661: Multires/Sculpt Segfult
- Show error message in multires modifier if there is no MDISPS layer
- Sculpt on basis mesh if there is no the same layer
2010-07-22 11:27:54 +00:00
Tom Musgrove
7c3375a6fb just a note on where to look later 2010-07-22 10:59:03 +00:00
Tom Musgrove
97f91ed3fa this fixes the bug that occurs when using pen tablet controlled pressure and the first daub is at maximum pressure - the bug is actually in brush_painter_paint(BrushPainter *painter, BrushFunc func, float *pos, double time, float pressure, void *user) according to brecht, but 'seems more complicated than expected to properly fix this' so this work around has been approved 2010-07-22 10:56:27 +00:00
Brecht Van Lommel
617711f7bf Attempt to fix black 3d view with texture paint + overlap draw mode. 2010-07-22 10:02:02 +00:00
Peter Schlaile
9ded4bcc13 == Sequencer ==
Bugfix: toggling deinterlace properly updates movie files now
2010-07-22 08:57:23 +00:00
Matt Ebb
188d1384fe Fix de/select all operator naming for consistency 2010-07-21 22:57:48 +00:00
Diego Borghetti
7925de1415 Fix #22894
[#22894] SEQUENCER; Drag & Drop into VSE as strip sends user to
file manager for import - MS Windows

The invoke function for both operator don't check the the filepath
property (this come from the drop event), so always open the
file browser.

Note that this problem is still there for Image, but there is something
else there, because the op SEQUENCER_OT_image_strip_add never got
this property (filepath). I check and the problem seems to be the
missing WM_FILESEL_FILEPATH when call WM_operator_properties_filesel.

The problem is that if I put this flag in the function, the image
strip stop working, so have to check a little more about this.
(Any idea why ?)
2010-07-21 19:49:43 +00:00
Brecht Van Lommel
969c0fd718 Fix #22894: sequencer drag & drop wasn't working anymore. 2010-07-21 17:37:40 +00:00
Brecht Van Lommel
64de3feb37 Fix #22813: black 3d view with overlap mode + operator doing backbuffer
draw for selection but not selecting anything.
2010-07-21 16:49:43 +00:00
Brecht Van Lommel
4536a4c610 Fix #22841: crash rendering scene with opengl in sequencer as part of
animation. Only allow this from main thread, opengl can't be called from
render threads. It was already disabled in background mode.

For now I'm going to consider this a limitation.
2010-07-21 16:20:54 +00:00
Brecht Van Lommel
678892805e Fix #22883: interface panels blank when drawing axis constraint.
GL_DEPTH_TEST was not incorrectly enabled in wireframe mode.
2010-07-21 16:18:00 +00:00
Brecht Van Lommel
b72af8c09a Fix #20983: cloth and smoke point cache step was not enforced to 1. 2010-07-21 15:58:15 +00:00
Brecht Van Lommel
6a8ce04e54 Fix #20084: merging triangles with different normals into a quad
would create a hole, just crappy editmesh code, no need to merge
to bmesh.
2010-07-21 15:23:49 +00:00
Brecht Van Lommel
44160c9747 Fix #20196: division by zero in edge slide with two overlapping loops. 2010-07-21 15:22:11 +00:00
Brecht Van Lommel
ff00aa1b7e Fix #22786: displace node doesn't work with procedural textures. 2010-07-21 14:13:48 +00:00
Brecht Van Lommel
ee6be64a2c Fix #22897: text insert operator only worked for one character,
now inserts the whole string.
2010-07-21 14:11:19 +00:00
Brecht Van Lommel
8eb594b74b Fix #22870: Can't save modified non-packed images. File exist check
wasn't taking into account that there could be relative paths.
2010-07-21 14:09:45 +00:00
Ton Roosendaal
66ce15b7af Added a donations link in the splash. 2010-07-21 11:12:26 +00:00
Brecht Van Lommel
e3428ae73f Change back automatic draw method to triple buffer for Intel cards, overlap is
not working reliable and flickering on various configurations, will try to find
out what these are, but for now probably better to have correct than fast drawing.
2010-07-21 10:44:46 +00:00
Brecht Van Lommel
edeef8bcd7 Revert revision 30441: [#22876] Add new scene, stacker ".00" bug
This commit broke unique datablock naming, tried to fix it properly but the
code here is too tricky to change now, will just reopen the bug report.
2010-07-21 10:39:51 +00:00
Tom Musgrove
ea008f862d forcing unfied size to off right now, since the other paint modes don't understand it. It can be renabled if jason has time to look at it (should be an easy fix, but it is far too late in the evening here for me to look). 2010-07-21 10:29:23 +00:00
Brecht Van Lommel
f59afb5f99 Unified size only works for sculpt, so only modify it in sculpt mode. 2010-07-21 09:39:21 +00:00
Brecht Van Lommel
2ea8a71d87 2.5: move some do_versions compatibility code under < 253 check. 2010-07-21 09:25:00 +00:00
Joerg Mueller
d17ce0f148 Merging revision 30567 from my GSoC branch, log: Fix for sound not possible to load when file unsaved. 2010-07-21 07:55:53 +00:00
Andrea Weikert
51bd50f746 == installation paths ==
Hopefully last fix for path issues for this release
* The config folder should also be searched for in the 'local' path for local installations
(This code was already there, but removed in revision 30440)
2010-07-21 05:49:48 +00:00
Jason Wilkins
4c52624524 * enabled tablet pressure for strength for all brushes 2010-07-21 01:39:18 +00:00
Jason Wilkins
015ecdee29 * Polish preset did not enable tablet pressure for strength
* Turned off 'Front-Face Only' for all brushes, it needs more testing
* Added brush icons for other paint modes
* Moved 'tool' panel to bottom of all paint modes
* Moved 'appearance' panel to be next to bottom
* Moved brush selector panel to top of all modes
* Closed all panels except the brush selector panel
* Turned off X symmetry
2010-07-21 00:57:25 +00:00
Tom Musgrove
b21092d6ad sorry this hadn't been committed eearlier allows shift+number so now up to 20 brushes can be selected via the numeric selection instead of just the first ten, also CKEY is clay, SHIFT CKEY is crease, and IKEY is inflate - not sure when the IKEY for inflate got dropped previously 2010-07-20 23:53:52 +00:00
Jason Wilkins
dd74b723eb * added keymap C for crease brush
* fixed key mappings for Pinch and Flatten
2010-07-20 22:06:12 +00:00
Jason Wilkins
a0c80f31a0 * enable unified paint/sculpt size by default.
Note: I think this will enable paint/sculpt in all files, even when user has turned it off, unless subversionfile is bumped to 6 and the comparison is changed to subversionfile < 6.  

I'll leave that to somebody else who knows better when to change the subversionfile.
2010-07-20 21:55:08 +00:00
Jason Wilkins
8005e7f130 * In previous commit, the draw brush for sculpting got separated out to a new brush called 'SculptDraw'. Updated the keymap 'D' to switch to this new brush. 2010-07-20 21:41:42 +00:00
Andrea Weikert
d047e5cbcd fix [#22915] Bookmarks and Recent no longer working in r30498
fix [#22920] Clicking folder icons doesn't work in File browser and append

* issue was that on windows stat requires the trailing slash removed, even with mingw.
(since we are after ahoy, putting this into extra #define, code cleanup will follow after release)
2010-07-20 19:26:53 +00:00
Xavier Thomas
a32b1ce8dc Add Ctrl+Alt+S as shortcut for "Save Copy". It was using the same as "Save As" and was confusing in the menu. 2010-07-20 18:06:46 +00:00
Diego Borghetti
a725cac520 Fix #22905
[#22905] Adding objects with a grid size of <1m results in a 0 size object

The problem here is that the return value of the function
ED_object_new_primitive_matrix is a float, not an int.

This come from an old revision, before the two dia and depth
multiplication was using the function (two call to the same
function). This was change to only call the functio one time
and store the value in the "scale" variable, but the scale
was declare as int, not float.
2010-07-20 16:54:50 +00:00
Brecht Van Lommel
75913ce446 2.5 Beta version files increment, from 2.52 to 2.53. 2010-07-20 16:44:59 +00:00
Brecht Van Lommel
1f6d178b73 2.5 Beta splash screen. 2010-07-20 16:42:23 +00:00
Jason Wilkins
e8d45a8c40 * typo fix 2010-07-20 13:43:09 +00:00
Jason Wilkins
886ce5a351 * can use file for brush icon
* fixed memory leaks
* moved some of the brush icon code around
* the update of the icon after a change is more responsive
2010-07-20 13:42:27 +00:00
Brecht Van Lommel
a149410565 Fix #22910: displacement mapping not working with use alpha for image texture. 2010-07-20 13:32:42 +00:00
Peter Schlaile
2800c2f0f9 Fixed linking order for datafiles in scons (introduced with Rev 30531)
(blenkernel references the icon data files and had lower priority...)
2010-07-20 13:15:25 +00:00
Joshua Leung
beb98c9e0c Bugfix #22872: invert zoom direction doesn't work
The setting for this (IMO it should really be on by default, for reasons I've outlined recently) was not exposed at all. 

The setting that was shown was a new(?) option in 2.5 which dealt with Ctrl-MMB drag zoom.
2010-07-20 12:37:42 +00:00
Peter Schlaile
f9e9e90a02 == Sequencer ==
Cutting effect strips (esp multicam) didn't free endstill tstripdata.
Doesn't sound like much of a problem, but those can get big on large 
timelines. So every cut eating 3 MB of memory doesn't leave much room 
for editing decisions :)
2010-07-20 12:22:45 +00:00
Joshua Leung
8621c71c4c Bugfix #22917: Translating numerically doesn't allow animation
I've made most operators which change the current frame are now undoable. This has the following benefits:
- it brings these into line with simply changing the frame number directly
- as in this bug report, using the operator tweaking/redo capabilities was causing problems, as the lack of an undo for the frame change mean that changing the operator properties (in this case to do numeric input for transforms, which is a bit of a creative if inefficient use of the available tools) would cause the current frame to reset to the previous frame, making it seem impossible to tweak the operator settings

Notes:
- screen.frame_offset() operator has been left alone, since I expect that undo pushes on this one would be truly annoying while on the others it's probably ok/wanted. This is because with this operator, animators usually end up stepping through their animations vs one-off jumps/scrubbing-sessions
2010-07-20 11:54:17 +00:00
Jason Wilkins
b618a335f5 * Made the default sculpt icons an internal part of the executable
* Default icons can be selected from a menu
* Option to make a custom icon from a file is present but the UI is disabled because of a mysterious crash
* New startup.blend that has the appropriate icons selected
2010-07-20 11:32:30 +00:00
Joshua Leung
c547323f1c Bugfix: The infamous "bone properties/constraints disappearing after renaming bones" bug
This was simply caused by the lookup hash-table not being updated to be aware of the new name. Now the hashes are updated, so the name lookups (used for UI drawing among other things) works ok again after renaming bones.

This closes (open) reports: 22882, 21801
and the closed/duplicate reports: 22067, 22670, 22384, 22665
2010-07-20 11:17:47 +00:00
Brecht Van Lommel
b8ba541b90 Fix #22895: file browser now also filters .mts .m2v .m2t .avs as movies. 2010-07-20 11:06:26 +00:00
Campbell Barton
75410037fd - correct some spelling errors.
- remove FreeCamera struct (wasnt used)
- remove world color alpha values (not used anywhre).
2010-07-20 10:41:08 +00:00
Brecht Van Lommel
ef9357365c Workaround #20324: clouds (and other) textures bump mapping generates black
faces. Only happens with scons/msvc and SSE enabled for raytracing. Why this
happens exactly I don't know, I've tried to look for errors in the code but
couldn't find any, the perlin noise code somehow is generating NaN values,
but it is getting sane inputs. I suspect this is due to the render module
being compiled with /arch:SSE and other parts not. For now I've made only
the render_raytrace module compile with SSE, which seems to solve the problem,
but is mostly a workaround.
2010-07-20 10:22:49 +00:00
Jason Wilkins
99c7b0d5c5 Attempt #3 for sculpt startup.blend.c
Since the icons were renamed had to rename them in startup.blend

Issue: now the icon images will show up in image menus
2010-07-20 06:05:25 +00:00