blender.git
9 years agoWorkaround #20324: clouds (and other) textures bump mapping generates black
Brecht Van Lommel [Tue, 20 Jul 2010 10:22:49 +0000 (10:22 +0000)]
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.

9 years agoAttempt #3 for sculpt startup.blend.c
Jason Wilkins [Tue, 20 Jul 2010 06:05:25 +0000 (06:05 +0000)]
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

9 years ago* new icons for blob and twist brushes
Jason Wilkins [Tue, 20 Jul 2010 05:36:19 +0000 (05:36 +0000)]
* new icons for blob and twist brushes

9 years agonoise python module back from 2.4x, personal request from ant author Jimmy Haze
Campbell Barton [Tue, 20 Jul 2010 03:14:21 +0000 (03:14 +0000)]
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
 */

9 years ago* Attempt #2 for new startup.blend
Jason Wilkins [Tue, 20 Jul 2010 02:55:08 +0000 (02:55 +0000)]
* 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

9 years ago* Images for brush icons are now reloaded when they are needed from an external file
Jason Wilkins [Tue, 20 Jul 2010 02:18:10 +0000 (02:18 +0000)]
* 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

9 years agoFix #22911
Diego Borghetti [Mon, 19 Jul 2010 22:47:15 +0000 (22:47 +0000)]
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.

9 years ago== Sequencer ==
Peter Schlaile [Mon, 19 Jul 2010 20:01:18 +0000 (20:01 +0000)]
== 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.

9 years agouse the world horizon color when view3d render only option is set
Campbell Barton [Mon, 19 Jul 2010 19:57:28 +0000 (19:57 +0000)]
use the world horizon color when view3d render only option is set

9 years agoSVN maintenance. Plus no hidden files in config.
Guillermo S. Romero [Mon, 19 Jul 2010 18:08:29 +0000 (18:08 +0000)]
SVN maintenance. Plus no hidden files in config.

9 years ago== Sequencer ==
Peter Schlaile [Mon, 19 Jul 2010 17:47:58 +0000 (17:47 +0000)]
== Sequencer ==

Add keyboard shortcuts for multicam editing
(hit 1-0 (regular, not keypad!) to cut to camera 1-10 during playback)

9 years agoAdd a "Save Copy" entry in the File menu.
Xavier Thomas [Mon, 19 Jul 2010 17:45:03 +0000 (17:45 +0000)]
Add a "Save Copy" entry in the File menu.

9 years ago== Sequencer ==
Peter Schlaile [Mon, 19 Jul 2010 17:39:25 +0000 (17:39 +0000)]
== Sequencer ==

In multicam editing, do not cut to non existent cams (above multicam
track)

9 years ago== Sequencer ==
Peter Schlaile [Mon, 19 Jul 2010 17:38:20 +0000 (17:38 +0000)]
== Sequencer ==

Made mpeg_preseek accessible again.

9 years ago== FFMPEG ==
Peter Schlaile [Mon, 19 Jul 2010 16:27:31 +0000 (16:27 +0000)]
== 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.

9 years agoAdd a "copy" option to the save_as_mainfile operator. It saves the current
Xavier Thomas [Mon, 19 Jul 2010 15:39:12 +0000 (15:39 +0000)]
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.

9 years agoBugger... msvc didn't bail out on these...
Joshua Leung [Mon, 19 Jul 2010 11:47:46 +0000 (11:47 +0000)]
Bugger... msvc didn't bail out on these...

9 years agoBugfix #22906: Animation Player buttons broke on r30467
Joshua Leung [Mon, 19 Jul 2010 11:25:23 +0000 (11:25 +0000)]
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.

9 years agoFix startup.blend, this was made from a regular blend file, not
Brecht Van Lommel [Mon, 19 Jul 2010 10:45:15 +0000 (10:45 +0000)]
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.

9 years agolibjack.dll not needed anymore
Nathan Letwory [Mon, 19 Jul 2010 10:15:49 +0000 (10:15 +0000)]
libjack.dll not needed anymore

9 years ago- Reverted "Set FREE_WINDOWS when compiling with MinGW"
Sergey Sharybin [Mon, 19 Jul 2010 09:19:54 +0000 (09:19 +0000)]
- 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

9 years agoSet FREE_WINDOWS when compiling with MinGW
Nathan Letwory [Mon, 19 Jul 2010 09:04:22 +0000 (09:04 +0000)]
Set FREE_WINDOWS when compiling with MinGW

9 years ago- Use correct paths for mstoolkit and crossmingw tools in sconscript
Sergey Sharybin [Mon, 19 Jul 2010 09:02:27 +0000 (09:02 +0000)]
- 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

9 years agoFix for #22861 Won't compile for MinGW sicne r30349
Nathan Letwory [Mon, 19 Jul 2010 08:55:06 +0000 (08:55 +0000)]
Fix for #22861 Won't compile for MinGW sicne r30349

9 years ago* decrementing image_icon ref count from wrong place
Jason Wilkins [Mon, 19 Jul 2010 07:29:52 +0000 (07:29 +0000)]
* decrementing image_icon ref count from wrong place

9 years ago* spelling error, "substract"
Jason Wilkins [Mon, 19 Jul 2010 07:26:41 +0000 (07:26 +0000)]
* spelling error, "substract"

9 years ago* new factory defaults include Eclectiel's sculpt icons and new default brush setting...
Jason Wilkins [Mon, 19 Jul 2010 06:56:08 +0000 (06:56 +0000)]
* new factory defaults include Eclectiel's sculpt icons and new default brush settings for the new GSoC sculpt tools

9 years agostupid mistake, was overwriting all strip saturation on load.
Campbell Barton [Sun, 18 Jul 2010 15:19:50 +0000 (15:19 +0000)]
stupid mistake, was overwriting all strip saturation on load.

9 years agoupdate from venomgfx, have the node toggle rather then an icon.
Campbell Barton [Sun, 18 Jul 2010 15:13:19 +0000 (15:13 +0000)]
update from venomgfx, have the node toggle rather then an icon.

9 years agopatch for displaying a node icon in the material panel if the material has nodes...
Campbell Barton [Sun, 18 Jul 2010 14:58:32 +0000 (14:58 +0000)]
patch for displaying a node icon in the material panel if the material has nodes (from venomgfx)

9 years agoSmall feature for the Durian guys:
Andrea Weikert [Sun, 18 Jul 2010 14:46:52 +0000 (14:46 +0000)]
Small feature for the Durian guys:
Playback Jog Keys:
ALT+LEFTARROW: play backward (hit again for double speed)
ALT+RIGHTARROW: play fordward (hit again for double speed)
ALT+DOWNARROW: start/stop animation

9 years agomove the thumbnailer to bin/
Campbell Barton [Sun, 18 Jul 2010 11:46:25 +0000 (11:46 +0000)]
move the thumbnailer to bin/

9 years ago2.5: hide indirect light panel for raytrace, it does nothing.
Brecht Van Lommel [Sun, 18 Jul 2010 10:58:41 +0000 (10:58 +0000)]
2.5: hide indirect light panel for raytrace, it does nothing.

9 years agoMerging revision 30461 from my GSoC branch, log: Fix for msvc which not has the round...
Joerg Mueller [Sun, 18 Jul 2010 08:19:44 +0000 (08:19 +0000)]
Merging revision 30461 from my GSoC branch, log: Fix for msvc which not has the round function.

9 years agofix for crash when terminating thumbnail threads
Andrea Weikert [Sun, 18 Jul 2010 08:07:38 +0000 (08:07 +0000)]
fix for crash when terminating thumbnail threads

9 years agofixing small ambiguity in the logic brick link code
Dalai Felinto [Sun, 18 Jul 2010 01:51:14 +0000 (01:51 +0000)]
fixing small ambiguity in the logic brick link code
(not sure it booms in any compiler, but it doesn't hurt to make it right)

9 years agoCMake on unix
Campbell Barton [Sat, 17 Jul 2010 21:11:04 +0000 (21:11 +0000)]
CMake on unix
- install manpage into the correct location defined: http://www.pathname.com/fhs/2.2/fhs-4.11.html
- dont copy pyc files from release/scripts

9 years agoFix for uninitialized results from hsv_to_rgb, when hue is out of range 0..1.
Brecht Van Lommel [Sat, 17 Jul 2010 21:01:00 +0000 (21:01 +0000)]
Fix for uninitialized results from hsv_to_rgb, when hue is out of range 0..1.

9 years agonetrender
Martin Poirier [Sat, 17 Jul 2010 18:40:00 +0000 (18:40 +0000)]
netrender

- Temporary fix for linked libs repathing (didn't work correctly when using relative links).

- autorefresh only for main page (on job page, it's really annoying because it keeps reseting results preview, so until that's fixed, off it is).

9 years agospelling correction: alredy --> already
Campbell Barton [Sat, 17 Jul 2010 18:08:14 +0000 (18:08 +0000)]
spelling correction: alredy --> already

9 years agoreverting commit r28693. Making backspace a 3rd delete key.
Campbell Barton [Sat, 17 Jul 2010 18:02:10 +0000 (18:02 +0000)]
reverting commit r28693. Making backspace a 3rd delete key.
We already have 2 keys for delete, no need to add a 3rd, better use backspace only when it makes sense or allow users to hook it up to something.

9 years ago- added text3d.body_format to be able to set bold/italic/smallcaps etc on text.
Campbell Barton [Sat, 17 Jul 2010 17:50:20 +0000 (17:50 +0000)]
- added text3d.body_format to be able to set bold/italic/smallcaps etc on text.
- the length of a new text object wasnt set on creation.
- tex3d and controllers rna name was being set to its body (rather then ID name)
- remove reference to wave objects which are very old and not used anymore.

9 years agoRendering from the sequencer in background mode was printing frame 0 for every frame
Campbell Barton [Sat, 17 Jul 2010 17:36:53 +0000 (17:36 +0000)]
Rendering from the sequencer in background mode was printing frame 0 for every frame

9 years agoRevert part of commit 29079, cleanup of particle path drawing logic
Brecht Van Lommel [Sat, 17 Jul 2010 17:07:50 +0000 (17:07 +0000)]
Revert part of commit 29079, cleanup of particle path drawing logic

This commit and other commits attempting to fix it broke various things. The
main thing that changed was that instead of computing children/paths in
advance as part of particle_system_update, this was moved to do it just before
drawing or rendering. I've changed back that behavior and tried to keep the
other fixes in the commit.

When the new particle system was just committed, it also worked this way but
gave various problems, and I had to remove that behavior to get things working
stable. Basically it meant that you could get have a path cache that was
outdated in various situations, and it doesn't fit well with dependency graph
evaluation order.

This fixes:
#22823: Children Particle Rendering is broken
#22733: Particle objects not displayed
#22888: SigSegV when rending hair particles
#22820: Another SigSegV when undo adding hairs in particel edit mode
Some particle setups in dupligroups.

The three bugs that the original commit fixed are now also still working in
my tests:
#21316: Hair weight drawing is wrong
#21923: Consistent Crash When Rendering Particle Scene.
#21950: Path rendering option for particles causes crash

9 years ago[#22876] Add new scene, stacker ".00" bug
Campbell Barton [Sat, 17 Jul 2010 16:17:30 +0000 (16:17 +0000)]
[#22876] Add new scene, stacker ".00" bug
finding duplicates is a bit faster now too since it doesnt split the name and number before comparing ID's prefix.

9 years ago2.5: installation paths, local directories (in the same folder as executable)
Brecht Van Lommel [Sat, 17 Jul 2010 15:42:01 +0000 (15:42 +0000)]
2.5: installation paths, local directories (in the same folder as executable)
are now considered system rather than user directories, as you would expect
these to override any system directory for local installations.

9 years agobugfix [#22890] Setting the Maya keymap gives python errors
Campbell Barton [Sat, 17 Jul 2010 14:34:52 +0000 (14:34 +0000)]
bugfix [#22890] Setting the Maya keymap gives python errors

9 years agoMerging revision 30434 from my GSoC branch, log: Fixed sound wave display bug for...
Joerg Mueller [Sat, 17 Jul 2010 13:41:22 +0000 (13:41 +0000)]
Merging revision 30434 from my GSoC branch, log: Fixed sound wave display bug for sounds that are not full length.

9 years ago* Applied patch from nicholasbishop that refactors calculation of the grab delta...
Jason Wilkins [Sat, 17 Jul 2010 13:31:33 +0000 (13:31 +0000)]
* Applied patch from nicholasbishop that refactors calculation of the grab delta into a function with less duplication

9 years agoPNG Compression can now be set, writing uncompressed PNG's is significantly faster...
Campbell Barton [Sat, 17 Jul 2010 13:29:55 +0000 (13:29 +0000)]
PNG Compression can now be set, writing uncompressed PNG's is significantly faster for high resolution images - 2k.

9 years ago48Hr Bugfix: Paste pose not correctly updating
Joshua Leung [Sat, 17 Jul 2010 13:18:11 +0000 (13:18 +0000)]
48Hr Bugfix: Paste pose not correctly updating

Removed some antiquated cruft that used to work around the old anim-system.

9 years agoLogic Editor: fix for float values steps and precision (reported by Mal Duffin (malCa...
Dalai Felinto [Sat, 17 Jul 2010 02:29:29 +0000 (02:29 +0000)]
Logic Editor: fix for float values steps and precision (reported by Mal Duffin (malCanDo) over email)
The UI wasn't working.
+ renaming motion blur rna to motion_blur_factor
+ fixing "using wrong dna" for min_y constraint actuator RNA

9 years agosimplify thumbnail reading and remove some warnings
Campbell Barton [Sat, 17 Jul 2010 00:38:34 +0000 (00:38 +0000)]
simplify thumbnail reading and remove some warnings

9 years agosequencer outline, credits on a black background wasnt easy to see.
Campbell Barton [Fri, 16 Jul 2010 23:17:13 +0000 (23:17 +0000)]
sequencer outline, credits on a black background wasnt easy to see.

9 years agofix for assigning any ID in rna, it would not run id_lib_extern() which means the...
Campbell Barton [Fri, 16 Jul 2010 22:21:37 +0000 (22:21 +0000)]
fix for assigning any ID in rna, it would not run id_lib_extern() which means the library reference would be lost on reload.

9 years agohomekey in sequencer viewer wasnt quite setting 1:1
Campbell Barton [Fri, 16 Jul 2010 16:54:39 +0000 (16:54 +0000)]
homekey in sequencer viewer wasnt quite setting 1:1

9 years ago== installation paths ==
Andrea Weikert [Fri, 16 Jul 2010 16:02:07 +0000 (16:02 +0000)]
== installation paths ==
* rename BLI_gethome to BLI_getDefaultDocumentFolder to better reflect how this function is used
* replaced BLI_gethome with getenv("HOME") on Linux and Mac where it retrieves location of bookmarks that are inserted as system bookmarks. BLI_gethome was a thin wrapper around these and in this case the user's home directory is what is actually wanted.

9 years ago[#22880] SEQUENCER: Flip Y broken in recent builds (Windows & Linux)
Campbell Barton [Fri, 16 Jul 2010 15:45:35 +0000 (15:45 +0000)]
[#22880] SEQUENCER: Flip Y broken in recent builds (Windows & Linux)
own fault when adding saturation.

9 years agoFix for [#22668] Adding sequencer color strip fails when sound strip selected.
Konrad Kleine [Fri, 16 Jul 2010 14:00:57 +0000 (14:00 +0000)]
Fix for [#22668] Adding sequencer color strip fails when sound strip selected.

Hi,

I've written a patch to fix this issue. Since the Effect Strip
"Color" doesn't need any input sequences, there is
no need to output a warning when adding this effect while other
sequences are selected. My fix let's all Effect Strips that don't
need input sequences pass the warning "Can't apply effects
to audio sequence strips". I think this is fair.

-Konrad

9 years agofix for freeze while resizing sequencer view vertically
Campbell Barton [Fri, 16 Jul 2010 13:55:22 +0000 (13:55 +0000)]
fix for freeze while resizing sequencer view vertically

9 years ago2.5: automatic draw method now uses overlap for Intel on all platforms.
Brecht Van Lommel [Fri, 16 Jul 2010 10:13:04 +0000 (10:13 +0000)]
2.5: automatic draw method now uses overlap for Intel on all platforms.

9 years agoIncorrect flags were checing for cyclic in order clamping functions
Sergey Sharybin [Fri, 16 Jul 2010 09:45:09 +0000 (09:45 +0000)]
Incorrect flags were checing for cyclic in order clamping functions

9 years agoBGE doc updates:
Mitchell Stokes [Fri, 16 Jul 2010 09:10:46 +0000 (09:10 +0000)]
BGE doc updates:
Fixed some typos and added docs for the following functions:

startGame()
endGame()
restartGame()
LibLoad()
LibNew()
LibFree()

9 years agoAdd comment about case where autosave can fail on Windows.
Nathan Letwory [Fri, 16 Jul 2010 06:49:31 +0000 (06:49 +0000)]
Add comment about case where autosave can fail on Windows.

9 years agoBlendfile thumbnail extractor, so icons can be automatically extracted from blend...
Campbell Barton [Fri, 16 Jul 2010 01:00:56 +0000 (01:00 +0000)]
Blendfile thumbnail extractor, so icons can be automatically extracted from blend files as PNG's and displayed in a file browser.
Runs with python 2.6 and 3.1 with no special deps.

To have nautilus display thumbnails automatically.
 gconftool --type boolean --set /desktop/gnome/thumbnailers/application@x-blender/enable true
 gconftool --type string --set /desktop/gnome/thumbnailers/application@x-blender/command "blender-thumbnailer.py %i %o"

9 years agopath -> filepath
Martin Poirier [Thu, 15 Jul 2010 22:37:07 +0000 (22:37 +0000)]
path -> filepath

Someone must have missed that when updating the operator properties.

9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 21:39:47 +0000 (21:39 +0000)]
== installation paths ==
* fix for autosave location -> shouldn't use BLI_gethome anymore
* this frees BLI_gethome of having to emulate the local->user->system search path and can now be truly considered as 'home/default location for .blend files'
* removed setting the default G.sce from read_history, was out of context there.
* fix for creating user dir, leftover from previous commit.

jesterKing, please review -> if there are any issues I will fix or revert.

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 15 Jul 2010 20:30:31 +0000 (20:30 +0000)]
SVN maintenance.

9 years agoRather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could...
Campbell Barton [Thu, 15 Jul 2010 20:25:09 +0000 (20:25 +0000)]
Rather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could be added for scons/make too.

9 years agoUpdate MSVC9 project file
Benoit Bolsee [Thu, 15 Jul 2010 20:16:17 +0000 (20:16 +0000)]
Update MSVC9 project file

9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 20:02:53 +0000 (20:02 +0000)]
== installation paths ==
remove deprecated python BLI_gethome_folder calls

Patch by Brecht, thanks a lot

9 years ago- updated man page from --help output.
Campbell Barton [Thu, 15 Jul 2010 19:58:23 +0000 (19:58 +0000)]
- updated man page from --help output.
- cmake now installs the man page.
- added cmake_linux_install.sh, shell script which downloads and builds blender.

9 years ago== installation paths ==
Andrea Weikert [Thu, 15 Jul 2010 19:42:36 +0000 (19:42 +0000)]
== installation paths ==
* fix case where environment variable was used without subfolder
* some small cleanup

9 years ago== rna cleanup ==
Luca Bonavita [Thu, 15 Jul 2010 18:34:25 +0000 (18:34 +0000)]
== rna cleanup ==

- after talking with brecht, changes keys prefixes with "is_pressed_alt" and so on if readonly and "pressed_alt" if not readonly
- updated the rna_cleaner.py with real prefixes and keywords so it's clear what it is being used

    kw_prefixes = [ 'active','apply','bl','exclude','has','invert','is','lock', \
                    'pressed','show','show_only','use','use_only','layers','states']
    kw = ['active','hide','invert','select','layers','mute','states','use','lock']

9 years agoRNA cleanup: some more boolean changes based on discussion with Luca.
Brecht Van Lommel [Thu, 15 Jul 2010 17:54:53 +0000 (17:54 +0000)]
RNA cleanup: some more boolean changes based on discussion with Luca.

9 years agofix for one of the problems with [#22846] GCC 4.4.1 support in Windows
Campbell Barton [Thu, 15 Jul 2010 17:36:00 +0000 (17:36 +0000)]
fix for one of the problems with [#22846] GCC 4.4.1 support in Windows

9 years agoApply first pass of edits to rna values from rna_booleans.txt.
Campbell Barton [Thu, 15 Jul 2010 16:56:04 +0000 (16:56 +0000)]
Apply first pass of edits to rna values from rna_booleans.txt.
These are not animated and are best not change names like this too late in the release.

ActionGroup.selected -> select:    boolean    Action Group is selected
BezierSplinePoint.hidden -> hide:    boolean    Visibility status
BezierSplinePoint.selected_control_point -> select_control_point:    boolean    Control point selection status
BezierSplinePoint.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
BezierSplinePoint.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
Bone.restrict_select -> hide_select:    boolean    Bone is able to be selected
Bone.selected -> select:    boolean
CurveMapPoint.selected -> select:    boolean    Selection state of the curve point
EditBone.restrict_select -> hide_select:    boolean    Bone is able to be selected
EditBone.selected -> select:    boolean
EditBone.selected_head -> select_head:    boolean
EditBone.selected_tail -> select_tail:    boolean
EditBone.locked -> lock:    boolean    Bone is not able to be transformed when in Edit Mode
EditBone.hidden -> hide:    boolean    Bone is not visible when in Edit Mode
NEGATE * FCurve.disabled -> enabled:    boolean    F-Curve could not be evaluated in past, so should be skipped when evaluating
FCurve.locked -> lock:    boolean    F-Curve's settings cannot be edited
FCurve.muted -> mute:    boolean    F-Curve is not evaluated
FCurve.selected -> select:    boolean    F-Curve is selected for editing
NEGATE * FCurve.visible -> hide:    boolean    F-Curve and its keyframes are shown in the Graph Editor graphs
FCurveSample.selected -> select:    boolean    Selection status
GPencilFrame.selected -> select:    boolean    Frame is selected for editing in the DopeSheet
GPencilLayer.locked -> lock:    boolean    Protect layer from further editing and/or frame changes
GPencilLayer.selected -> select:    boolean    Layer is selected for editing in the DopeSheet
Keyframe.selected -> select:    boolean    Control point selection status
Keyframe.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
Keyframe.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
MeshEdge.selected -> select:    boolean
MeshEdge.hidden -> hide:    boolean
MeshFace.hidden -> hide:    boolean
MeshFace.selected -> select:    boolean
MeshVertex.hidden -> hide:    boolean
MeshVertex.selected -> select:    boolean
MotionPathVert.selected -> select:    boolean    Path point is selected for editing
NlaStrip.selected -> select:    boolean    NLA Strip is selected
NlaTrack.locked -> lock:    boolean    NLA Track is locked
NlaTrack.muted -> mute:    boolean    NLA Track is not evaluated
NlaTrack.selected -> select:    boolean    NLA Track is selected
Object.restrict_render -> hide_render:    boolean    Restrict renderability
Object.restrict_select -> hide_select:    boolean    Restrict selection in the viewport
Object.restrict_view -> hide:    boolean    Restrict visibility in the viewport
Object.selected -> select:    boolean    Object selection state
ObjectBase.selected -> select:    boolean    Object base selection state
PoseBone.selected -> select:    boolean
Sequence.right_handle_selected -> select_right_handle:    boolean
Sequence.selected -> select:    boolean
SplinePoint.selected -> select_control_point:    boolean    Selection status
TimelineMarker.selected -> select:    boolean    Marker selection state
Sequence.left_handle_selected -> select_left_handle:    boolean
ActionGroup.locked -> lock:    boolean    Action Group is locked
Bone.hidden -> hide:    boolean    Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)
SplinePoint.hidden -> hide:    boolean    Visibility status
FModifier.muted -> mute:    boolean    F-Curve Modifier will not be evaluated

 note: rebaned uv_select to select_uv

9 years agorna name edits as discussed with brecht. restrict -> hide.
Campbell Barton [Thu, 15 Jul 2010 15:37:57 +0000 (15:37 +0000)]
rna name edits as discussed with brecht. restrict -> hide.

9 years agoUpdate --help message for new path environment variables.
Brecht Van Lommel [Thu, 15 Jul 2010 15:20:53 +0000 (15:20 +0000)]
Update --help message for new path environment variables.

9 years agoFix for use of path environment variables, was not appending subfolder.
Brecht Van Lommel [Thu, 15 Jul 2010 15:03:42 +0000 (15:03 +0000)]
Fix for use of path environment variables, was not appending subfolder.

9 years agoFix #22851: missing undo push for color picker, these only work if
Brecht Van Lommel [Thu, 15 Jul 2010 13:34:14 +0000 (13:34 +0000)]
Fix #22851: missing undo push for color picker, these only work if
there is a button label or tooltip.

9 years agoown recent commit which added support for writing srgb float buffers broke writing...
Campbell Barton [Thu, 15 Jul 2010 13:32:20 +0000 (13:32 +0000)]
own recent commit which added support for writing srgb float buffers broke writing char buffers as half EXR's.

9 years agochange some references to .B.blend, .Blog to new names
Campbell Barton [Thu, 15 Jul 2010 11:51:43 +0000 (11:51 +0000)]
change some references to .B.blend, .Blog to new names

9 years agoFix: rename to .blend1 as last before writing, after creating blend thumbnail.
Brecht Van Lommel [Thu, 15 Jul 2010 10:51:05 +0000 (10:51 +0000)]
Fix: rename to .blend1 as last before writing, after creating blend thumbnail.

9 years ago* smooth wasn't working with strengths below .5
Jason Wilkins [Thu, 15 Jul 2010 05:53:11 +0000 (05:53 +0000)]
* smooth wasn't working with strengths below .5

9 years agoDisabled mode-switching keys during 3D View orbit/zoom etc. in default key map.
Matt Ebb [Thu, 15 Jul 2010 03:49:32 +0000 (03:49 +0000)]
Disabled mode-switching keys during 3D View orbit/zoom etc. in default key map.

Still possible to re-enable via editing the modal keymap, but was getting a bit
annoying in its current state. Can probably be implemented a bit better in the
future with timers etc, but no time at the moment.

9 years agouse dict comprehension where possible
Campbell Barton [Thu, 15 Jul 2010 00:52:26 +0000 (00:52 +0000)]
use dict comprehension where possible

9 years agoLogic UI: Changing Controllers names to follow Sensors and actuators (back to have...
Nathan Letwory [Wed, 14 Jul 2010 23:51:21 +0000 (23:51 +0000)]
Logic UI: Changing Controllers names to follow Sensors and actuators (back to have only the first latter capitalized) + change the controller state only when in expanded mode (show the number otherwise).

Cosmetic commit, no structural/big code changes (patch by dfelinto).

9 years ago* Use same BLI_exist() on all platforms.
Nathan Letwory [Wed, 14 Jul 2010 23:39:23 +0000 (23:39 +0000)]
* Use same BLI_exist() on all platforms.
* remove extra sys/types.h include.

9 years agoS_ISDIR and S_ISREG were checking completely wrong for directory and regular file...
Nathan Letwory [Wed, 14 Jul 2010 22:16:56 +0000 (22:16 +0000)]
S_ISDIR and S_ISREG were checking completely wrong for directory and regular file bits.

9 years agoTo be actually useful, also report the filename when write operation fails.
Nathan Letwory [Wed, 14 Jul 2010 20:52:23 +0000 (20:52 +0000)]
To be actually useful, also report the filename when write operation fails.

9 years agopatch from Goran Milovanovic for the BGE python api.
Campbell Barton [Wed, 14 Jul 2010 20:52:04 +0000 (20:52 +0000)]
patch from Goran Milovanovic for the BGE python api.
 camera.ortho_scale (use when in ortho mode only)

(own previous commit incorrectly removed thumb metadata from new imbuf)

9 years ago- change blend thumbnail loading function not to use goto's
Campbell Barton [Wed, 14 Jul 2010 20:31:11 +0000 (20:31 +0000)]
- change blend thumbnail loading function not to use goto's
- fix for some warnings

9 years agoCMake patch from Ralf Hölzemer (cheleb)
Campbell Barton [Wed, 14 Jul 2010 20:26:46 +0000 (20:26 +0000)]
CMake patch from Ralf Hölzemer (cheleb)
[#22849] Fix cmake install target on linux
--- from the tracker ---
This patch fixes the install target for the linux platform. Since the new configuration path changes are in effect, files have to be installed in the correct places instead of just copying the local installation to $PREFIX/share/blender.

It also provides a new macro to determine the correct blender version values.

Changes in this patch include:

- the .desktop menu file is installed in $PREFIX/share/applications and points to the svg icon instead of a png one, which is also installed in $PREFIX/share/pixmaps
- docs are installed in $PREFIX/share/doc/blender
- scripts are installed in in $PREFIX/share/blender/x.xx/
- locales are installed in in $PREFIX/share/blender/x.xx/datafiles
- a new cmake macro determines and sets the correct values for BLENDER_VERSION_MAJOR, BLENDER_VERSION_MINOR, BLENDER_SUBVERSION, BLENDER_VERSION, BLENDER_MINVERSION_MAJOR, BLENDER_MINVERSION_MINOR, BLENDER_MINSUBVERSION and BLENDER_MINVERSION by parsing source/blender/blenkernel/BKE_blender.h and calculating major/minor values. This replaces the hardcoded value in the top CMakeLists file and is used by all platforms.

9 years agomistake in recent commit, set all axis values.
Campbell Barton [Wed, 14 Jul 2010 20:19:53 +0000 (20:19 +0000)]
mistake in recent commit, set all axis values.

9 years ago* new settings for brushes in do_versions had wrong subversionfile
Jason Wilkins [Wed, 14 Jul 2010 20:16:04 +0000 (20:16 +0000)]
* new settings for brushes in do_versions had wrong subversionfile

9 years ago* Accidentally bumped file subversion after sculpt merge. Perhaps this should be...
Jason Wilkins [Wed, 14 Jul 2010 20:08:30 +0000 (20:08 +0000)]
* Accidentally bumped file subversion after sculpt merge.  Perhaps this should be done, but not without permission.

My comment even said not to merge it :)

9 years ago* removed unneeded autosmooth_overlap, forgot to remove before merge
Jason Wilkins [Wed, 14 Jul 2010 20:04:02 +0000 (20:04 +0000)]
* removed unneeded autosmooth_overlap, forgot to remove before merge
* replaced omp critical sections, code either crashes or does not function correctly without them

9 years agopartial fix [#22846] GCC 4.4.1 support in Windows
Campbell Barton [Wed, 14 Jul 2010 18:22:39 +0000 (18:22 +0000)]
partial fix [#22846] GCC 4.4.1 support in Windows

Still getting error:
 Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized

9 years agoScons/darwin (OSX): blender.app package is now created correctly in the install folder
Damien Plisson [Wed, 14 Jul 2010 18:19:34 +0000 (18:19 +0000)]
Scons/darwin (OSX): blender.app package is now created correctly in the install folder