Commit Graph

25005 Commits

Author SHA1 Message Date
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
Brecht Van Lommel
f8a67e87cf 2.5 Beta update to readme.html 2010-07-20 16:56:44 +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
822f0dbb92 2.5 Beta splash png. 2010-07-20 16:43:58 +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
Luca Bonavita
faeec3b147 == 3D: background image ==
Doesn't visualize size and x, y position of the background Image in camera view
(reviewed by brecht before committing)
2010-07-20 12:20:55 +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
Brecht Van Lommel
d8792465e0 Fix for python error in material panel. 2010-07-20 11:18:29 +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
Brecht Van Lommel
fe4c55008e Fix #22921: error FBX exporting armature without animation data. 2010-07-20 11:00:29 +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
Jason Wilkins
cbc0e6ad4a * new icons for blob and twist brushes 2010-07-20 05:36:19 +00:00
Campbell Barton
d5d343a86b noise python module back from 2.4x, personal request from ant author Jimmy Haze
Changes:

/* 2.5 update
 * Noise.setRandomSeed --> seed_set
 * Noise.randuvec --> random_unit_vector
 * Noise.vNoise --> noise_vector
 * Noise.vTurbulence --> turbulence_vector
 * Noise.multiFractal --> multi_fractal
 * Noise.cellNoise --> cell
 * Noise.cellNoiseV --> cell_vector
 * Noise.vlNoise --> vl_vector
 * Noise.heteroTerrain --> hetero_terrain
 * Noise.hybridMFractal --> hybrid_multi_fractal
 * Noise.fBm --> fractal
 * Noise.ridgedMFractal --> ridged_multi_fractal
 *
 * Const's *
 * Noise.NoiseTypes --> types
 * Noise.DistanceMetrics --> distance_metrics
 */
2010-07-20 03:14:21 +00:00
Jason Wilkins
132a1f95c1 * Attempt #2 for new startup.blend
* This file has the default filenames for the sculpt icons

* Note: This does not contain code to make sure that icons get installed to 2.52/datafiles/brushicons so they can be loaded properly
2010-07-20 02:55:08 +00:00
Jason Wilkins
80e6323646 * Images for brush icons are now reloaded when they are needed from an external file
* First, try to load the file from the given filename.  This is either absolute or relative to the current .blend
* If file is found using the given filename directly then look for the file in the datafiles/brushicons directory (local, user, or system).

* Note: This commit does not update the .blend to reference the default icons
* Note: This commit does not make sure that the build system copies the default icons to the 2.52/datafiles/brushicons directory
2010-07-20 02:18:10 +00:00
Diego Borghetti
1033b60824 Fix #22911
[#22911] Node editors: pressing home doesn't zoom properly

Was using the incorrect value to calculate the new area
(also a typo in the ymax/xmax).

The bug can be found on the 2.4x version too, not really
sure how old is it.
2010-07-19 22:47:15 +00:00
Peter Schlaile
c7ce37471d == Sequencer ==
Bugfix: free_imbuf_seq() was closing IMB anim handles on nearly every 
change of RNA variables. This can be *very* slow, if you twiddle with 
parameters during playback. Especially multicam editing...

Now: we close IMB anim handles only on refresh_all() and filepath 
changes.
2010-07-19 20:01:18 +00:00
Campbell Barton
5095e97ea6 use the world horizon color when view3d render only option is set 2010-07-19 19:57:28 +00:00
Guillermo S. Romero
c2945d31e7 SVN maintenance. Plus no hidden files in config. 2010-07-19 18:08:29 +00:00
Peter Schlaile
55d17f69d8 == Sequencer ==
Add keyboard shortcuts for multicam editing 
(hit 1-0 (regular, not keypad!) to cut to camera 1-10 during playback)
2010-07-19 17:47:58 +00:00
Xavier Thomas
e24d90acad Add a "Save Copy" entry in the File menu. 2010-07-19 17:45:03 +00:00
Peter Schlaile
aa0e4277a2 == Sequencer ==
In multicam editing, do not cut to non existent cams (above multicam 
track)
2010-07-19 17:39:25 +00:00
Peter Schlaile
40ee7ef155 == Sequencer ==
Made mpeg_preseek accessible again.
2010-07-19 17:38:20 +00:00
Peter Schlaile
523e8e4dc9 == FFMPEG ==
This is a fix for the following issues in ffmpeg movie reader:

* mpeg transport stream seeking (HDV) failed completely, since ffmpeg
  doesn't want to seek by timestamp (those aren't guaranteed to be 
  strictly monotonic within those file formats)

  We therefore seek by byte and use the bitrate in those cases. 
  This isn't a real fix,
  I will add a seperate index building process, soon, so that we can
  finally seek by timecode properly (optionally with "free run timecode"
  on consumer video camcorders, stay tuned :) )

* Recent versions of ffmpeg do set the ALPHA channel to 0xff properly,
  so we test the first pixel for proper ALPHA and then workaround
  optionally.
2010-07-19 16:27:31 +00:00
Xavier Thomas
ff83a98a07 Add a "copy" option to the save_as_mainfile operator. It saves the current
state but does not make the saved file active, so further save won't use 
this filepath.
2010-07-19 15:39:12 +00:00
Joshua Leung
f7298287b3 Bugger... msvc didn't bail out on these... 2010-07-19 11:47:46 +00:00
Joshua Leung
185036c3ed Bugfix #22906: Animation Player buttons broke on r30467
Reverting this commit. Seems that only the added parts were tested. I'll look at restoring a similar version of this in future.
2010-07-19 11:25:23 +00:00
Brecht Van Lommel
5108706176 Fix startup.blend, this was made from a regular blend file, not
the one saved when saving user preferences.

I've left out the brush icons. It's really not acceptable to have
these as image datablocks. Having these packed would also mean
increasing the size of every .blend file by 650 KB. They should be
loaded from the datafiles directory.
2010-07-19 10:45:15 +00:00
Nathan Letwory
f054ecd37a libjack.dll not needed anymore 2010-07-19 10:15:49 +00:00
Sergey Sharybin
1f8f55b3cd - Reverted "Set FREE_WINDOWS when compiling with MinGW"
- Reverted own changes made to _stat function BLI_exists
- Use __MINGW32__ instead of FREE_WINDOWS in BLI_exists
- Removed recently added lib dependencies for mingw
2010-07-19 09:19:54 +00:00
Nathan Letwory
38860522bf Set FREE_WINDOWS when compiling with MinGW 2010-07-19 09:04:22 +00:00
Sergey Sharybin
266438b5e0 - Use correct paths for mstoolkit and crossmingw tools in sconscript
- Use _stat64i32 instead of _stat in BLI_exist
  Needed for correct compilation by mingw, no sense for msvc
  (_stat is equivalent to _stat64i32 in Visual C++ 2005, and later i suppose)
- Added library msvcr90 for mingw to solve linking error to _stat64i32
2010-07-19 09:02:27 +00:00
Nathan Letwory
c28c33d19d Fix for #22861 Won't compile for MinGW sicne r30349 2010-07-19 08:55:06 +00:00
Jason Wilkins
acf3c4bb02 * decrementing image_icon ref count from wrong place 2010-07-19 07:29:52 +00:00
Jason Wilkins
7b1aeea029 * spelling error, "substract" 2010-07-19 07:26:41 +00:00
Jason Wilkins
87ff29f932 * new factory defaults include Eclectiel's sculpt icons and new default brush settings for the new GSoC sculpt tools 2010-07-19 06:56:08 +00:00