blender.git
10 years agoMerging r37863 through r3789 form trunk1 into soc-2011-tomato
Sergey Sharybin [Tue, 28 Jun 2011 10:06:06 +0000 (10:06 +0000)]
Merging r37863 through r3789 form trunk1 into soc-2011-tomato

10 years agomake drawing faces in the UV editor an image space option, re-using the mesh option...
Campbell Barton [Tue, 28 Jun 2011 09:42:17 +0000 (09:42 +0000)]
make drawing faces in the UV editor an image space option, re-using the mesh option was lazy and doesn't make much sense.

10 years agoExplicitly turn off JACK so it's clear it's not supported.
Nathan Letwory [Tue, 28 Jun 2011 06:56:39 +0000 (06:56 +0000)]
Explicitly turn off JACK so it's clear it's not supported.

10 years agofix [#27787] Smart UV Unwrap Results in Overlaps
Campbell Barton [Tue, 28 Jun 2011 06:51:55 +0000 (06:51 +0000)]
fix [#27787] Smart UV Unwrap Results in Overlaps
added optional face area weighting (from 2.4x) since this can result in overlapping faces.

10 years agocleanup for cmake msvc build options, reference some libs directly, fix conflicting...
Campbell Barton [Tue, 28 Jun 2011 02:49:49 +0000 (02:49 +0000)]
cleanup for cmake msvc build options, reference some libs directly, fix conflicting flags /Ob1 and /Zi for debug

10 years agoVBO:
Nicholas Bishop [Tue, 28 Jun 2011 00:40:39 +0000 (00:40 +0000)]
VBO:

Fix for bug found by psy-fi.

* gpu_buffers.c was using GL_ARB_vertex_buffer_object to check for VBO
  support, should be using GLEW_ARB_vertex_buffer_object.

10 years agodisable opencollada and openexr for msvc2010, gives linking errors
Campbell Barton [Mon, 27 Jun 2011 16:33:59 +0000 (16:33 +0000)]
disable opencollada and openexr for msvc2010, gives linking errors

10 years agoCamera tracking integration
Sergey Sharybin [Mon, 27 Jun 2011 14:45:50 +0000 (14:45 +0000)]
Camera tracking integration
===========================

Fixed stypid typo which was lead to crash when switching to clip editor.

10 years agoFix last part of #26850: OS X game player did not react to quit event.
Brecht Van Lommel [Mon, 27 Jun 2011 14:34:58 +0000 (14:34 +0000)]
Fix last part of #26850: OS X game player did not react to quit event.

10 years agoCamera tracking integration
Sergey Sharybin [Mon, 27 Jun 2011 14:24:23 +0000 (14:24 +0000)]
Camera tracking integration
===========================

- Fixed "sliding" when panning footage in high zoom.
  This was most noticeable near right top corner of footage.
- Fixed 1px flickering of marker during playback with
  "Lock to Selection" toggled on. This was caused by
  precision errors. Used UI_view2d_to_region_no_clip-like
  offsets calculations, but in float values. Maybe there
  could be something smarter..
- Implemented tarcking along single frame.
  Hotkey is ALT+left/right array. Also changed a bit
  tracking tools buttons in Tools panel.
- Fixed "Lock to Selection" during tracking -- tracks
  synchronization should happen before centering view.
- Approximate marker's position for frames, which haven't
  got marker for them.
  Use the nearest marker from left side for approximation.
  For frames above  first marker's framenr sue first marker
  position.
- Markers now could be disabled. Added checkbox to
  "Active Marker" panel.
- Changes in cache line:
  * Bright line means active track has marker for frame.
  * Dark line means marker's position is approximated.
  * Yellow-less line means marker is disabled for that frames.

NOTE: .blend files which are saved with previous tomato version
      would fail to work properly. I don't want to spend time
      on making that files work properly atm, so don't blame on this.

10 years agoMerging r37732 through r37862 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 27 Jun 2011 14:20:48 +0000 (14:20 +0000)]
Merging r37732 through r37862 from trunk into soc-2011-tomato

10 years agoFix part of #26850: OS X game player was showing _NSAutoreleaseNoPool()
Brecht Van Lommel [Mon, 27 Jun 2011 14:06:11 +0000 (14:06 +0000)]
Fix part of #26850: OS X game player was showing _NSAutoreleaseNoPool()
error messages on start. These were coming from initializing the SDL video
subsystem as part of Joystick init. We do not need this, as video stuff is
covered by GHOST, most likely this was conflicting.

10 years agoFix part of #26850: Cocoa OS X game player was not working, two issues:
Brecht Van Lommel [Mon, 27 Jun 2011 13:57:27 +0000 (13:57 +0000)]
Fix part of #26850: Cocoa OS X game player was not working, two issues:

* Unlike blender, the game player draws only on windows update callbacks,
  and those wer not implemented.
* Going fullscreen for player was not implemented correct, it expected an
  existing window but actually it should create one.

10 years agoinitialize cmake's CMAKE_BUILD_TYPE to 'Release'
Campbell Barton [Mon, 27 Jun 2011 13:18:08 +0000 (13:18 +0000)]
initialize cmake's CMAKE_BUILD_TYPE to 'Release'
add reference to cmake cache for convenience GNUMakefile

10 years agofix for editmode option toggle
Campbell Barton [Mon, 27 Jun 2011 11:40:15 +0000 (11:40 +0000)]
fix for editmode option toggle

10 years agoBugfix #27768
Ton Roosendaal [Mon, 27 Jun 2011 11:21:25 +0000 (11:21 +0000)]
Bugfix #27768

On clicking in a non-active Blender window (when you activated others),
the mouse position of the first click was still the old position.

Problem is in GHOST; it sends out the 'activate window' event after the
mouseclick event itself. Code now checks for this case and reads the
correct mouse position.

10 years agofix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.
Campbell Barton [Mon, 27 Jun 2011 07:51:52 +0000 (07:51 +0000)]
fix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.

Toggling options on the selection is better done as a generic operator.
Replace ARMATURE_OT_flags_set and POSE_OT_flags_set with WM_OT_context_collection_boolean_set and use menus to access it with specific settings.

This way its easy make a key shortcut which toggles any boolean on any collection - sequences, metaballs, objects, bones etc.

10 years agoremove some unused flags and correct aud example heading
Campbell Barton [Mon, 27 Jun 2011 07:44:59 +0000 (07:44 +0000)]
remove some unused flags and correct aud example heading

10 years agobasic sound playback example for audspace module
Dalai Felinto [Mon, 27 Jun 2011 05:12:03 +0000 (05:12 +0000)]
basic sound playback example for audspace module
(I'm on windows at the moment so I can't test it. Hopefully it should be fine)

10 years agofix for a leak in sound_read_sound_buffer(), used when drawing the sequencer waveform.
Campbell Barton [Mon, 27 Jun 2011 05:03:58 +0000 (05:03 +0000)]
fix for a leak in sound_read_sound_buffer(), used when drawing the sequencer waveform.

10 years agoprint the help message if running from python directly.
Campbell Barton [Mon, 27 Jun 2011 04:50:08 +0000 (04:50 +0000)]
print the help message if running from python directly.

10 years agomoved modules added to changelog (this isn't detected by the changelog generator)
Campbell Barton [Mon, 27 Jun 2011 04:21:53 +0000 (04:21 +0000)]
moved modules added to changelog (this isn't detected by the changelog generator)

10 years agoscenes now adjust brush usercounts on copying and freeing, pointed out by Jason Wilkins
Campbell Barton [Mon, 27 Jun 2011 04:05:19 +0000 (04:05 +0000)]
scenes now adjust brush usercounts on copying and freeing, pointed out by Jason Wilkins

10 years ago== Multires ==
Nicholas Bishop [Mon, 27 Jun 2011 03:54:22 +0000 (03:54 +0000)]
== Multires ==
Fix for bug #27710, 'Multires lost from 2.49 file in 2.5x'
Reported by Gaia Clary.

Problem was that the old multires data didn't flush changes to
vertices out to the Multires structure on filesave. So, recent bits of
sculpting could be lost if the multires level wasn't changed before
filesave.

We already had code to deal with missing multires vertex data, which
simply copies the Mesh vertex data into the multires vertex data if it
matches the number of vertices in the highest level. Moved this code
up a bit so that we always make this copy if the numbers match up.

Was able to reproduce the bug fresh in 2.49b, and confirmed that the
fix works. However, this does not help if changes were sculpted on a
multires level other than the highest level and saved without a
subsequent level change.

10 years agoMinor warning cleanup & fix
Campbell Barton [Mon, 27 Jun 2011 03:36:14 +0000 (03:36 +0000)]
Minor warning cleanup & fix
- comment/remove assignments from values to themselves.
- add case break statements (no functional change but some source code checkers notice).
- fix python errors when the sculpt brush is None.

10 years agofix for building with msvc/cmake take 2 (think its correct this time)
Campbell Barton [Sun, 26 Jun 2011 17:18:37 +0000 (17:18 +0000)]
fix for building with msvc/cmake take 2 (think its correct this time)
also sync build flags with scons.

10 years agomore compact code for recent sphere/line intersection functions.
Campbell Barton [Sun, 26 Jun 2011 17:16:06 +0000 (17:16 +0000)]
more compact code for recent sphere/line intersection functions.

10 years agoPutting back blender.org and release number in info header.
Ton Roosendaal [Sun, 26 Jun 2011 17:01:10 +0000 (17:01 +0000)]
Putting back blender.org and release number in info header.
Worked always great for tutorials in past, to check what's been used.

10 years ago2d version of line/circle intersec function.
Campbell Barton [Sun, 26 Jun 2011 11:08:12 +0000 (11:08 +0000)]
2d version of line/circle intersec function.

10 years agoFix in texts for Mesh.materials.pop()
Dalai Felinto [Sun, 26 Jun 2011 09:10:54 +0000 (09:10 +0000)]
Fix in texts for Mesh.materials.pop()
found by accident while studying how to append materials from python ;)

10 years agoThis solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefull...
Mitchell Stokes [Sun, 26 Jun 2011 08:42:00 +0000 (08:42 +0000)]
This solves the issue of having symlinks in the LIBDIR path (CMAKE Windows). Hopefully it doesn't break other things.

10 years agorenamed math functions and made public
Campbell Barton [Sun, 26 Jun 2011 08:07:09 +0000 (08:07 +0000)]
renamed math functions and made public
 lambda_cp_line --> line_point_factor_v3
 lambda_cp_line2 --> line_point_factor_v2

correction to previous commit function name
 isect_seg_sphere_v3 --> isect_line_sphere_v3
 ... since its not clipped.

added a clip argument to the python version of the function.

10 years agomath func to find the intersection(s) between a segment and a sphere for C/python.
Campbell Barton [Sun, 26 Jun 2011 07:21:19 +0000 (07:21 +0000)]
math func to find the intersection(s) between a segment and a sphere for C/python.

from python:
  i1, i2 = mathutils.geometry.intersect_line_sphere(l1, l2, sphere, radius)

10 years agoAllow the lib dir to be a symlink, pointed out by Mitchell Stokes.
Campbell Barton [Sun, 26 Jun 2011 06:05:56 +0000 (06:05 +0000)]
Allow the lib dir to be a symlink, pointed out by Mitchell Stokes.

10 years agofix incorrect ui text for is_runtime
Campbell Barton [Sat, 25 Jun 2011 17:36:33 +0000 (17:36 +0000)]
fix incorrect ui text for is_runtime

10 years agoBugfix #27765
Ton Roosendaal [Sat, 25 Jun 2011 15:54:20 +0000 (15:54 +0000)]
Bugfix #27765

Thumbnail save for .blend crashed, when being in editmode for a mesh
that has other object users as well. Derivedmesh confusement...

Thanks to Sergey for finding the cause!

10 years agofix for building with MSVC release, some edits I made didnt work as I expected but...
Campbell Barton [Sat, 25 Jun 2011 14:10:46 +0000 (14:10 +0000)]
fix for building with MSVC release, some edits I made didnt work as I expected but still built for debug

10 years agoBugfix #27761
Ton Roosendaal [Sat, 25 Jun 2011 13:23:14 +0000 (13:23 +0000)]
Bugfix #27761

Default startup theme used same node header color for "in/out" nodes
as for "inactive or undefined" nodes. This made it impossible to see
which of the output nodes in node setup was 'active'. Made the active
in/out color a slight blueish shade of grey now.

10 years agowrong rna func type used
Campbell Barton [Sat, 25 Jun 2011 06:54:11 +0000 (06:54 +0000)]
wrong rna func type used

10 years agoGHOST Cocoa: some changes to Y coordinate conversion in previous commit,
Brecht Van Lommel [Sat, 25 Jun 2011 02:10:13 +0000 (02:10 +0000)]
GHOST Cocoa: some changes to Y coordinate conversion in previous commit,
to fix continuous grab being broken (bug report #27760).

10 years agoFix [#27748] undeterministic behaviour of volumetric renderer
Matt Ebb [Sat, 25 Jun 2011 00:33:36 +0000 (00:33 +0000)]
Fix [#27748] undeterministic behaviour of volumetric renderer

* Made clearer in the UI that the approximate multiple scattering always enables light cache
* Fixed a potential problem in anisotropic scattering

10 years agoSVN maintenance.
Guillermo S. Romero [Fri, 24 Jun 2011 23:14:26 +0000 (23:14 +0000)]
SVN maintenance.

10 years agoown patch [#27752] Python Callback (Scriptlink functionality)
Campbell Barton [Fri, 24 Jun 2011 16:54:30 +0000 (16:54 +0000)]
own patch [#27752] Python Callback (Scriptlink functionality)

Python:
 * adds bpy.app.handlers which contains lists, each for an event type:
   render_pre, render_post, load_pre, load_post, save_pre, save_post
 * each list item needs to be a callable object which takes 1 argument (the ID).
 * callbacks are cleared on file load.

Example:
 def MyFunc(scene): print("Callback:", data)
 bpy.app.handlers.render_post.append(MyFunc)

C:
 * This patch adds a generic C callback api which is currently only used by python.
 * Unlike python callbacks these are not cleared on file load.

10 years agomove callbacks file out of intern (only contains 1 function but re-using it for new...
Campbell Barton [Fri, 24 Jun 2011 15:10:34 +0000 (15:10 +0000)]
move callbacks file out of intern (only contains 1 function but re-using it for new callback api)

10 years agoFirst commit to make "Style" settings saved in startup.blend
Ton Roosendaal [Fri, 24 Jun 2011 14:00:15 +0000 (14:00 +0000)]
First commit to make "Style" settings saved in startup.blend

Usage currently is limited to:
- Panel text, widget text and label text style:
  point size, shadow effects

Setting individual fonts to these is not possible yet, it uses the
default for it.

Access goes via outliner now; check "User Preferences". UI team could
add this in userpref scripts :)

10 years agofree_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.
Campbell Barton [Fri, 24 Jun 2011 05:34:03 +0000 (05:34 +0000)]
free_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.

10 years agofix [#27742] Smart UV project no longer works in 2.58
Campbell Barton [Fri, 24 Jun 2011 04:12:01 +0000 (04:12 +0000)]
fix [#27742] Smart UV project no longer works in 2.58
failed with active, unselected objects.

10 years agofix [#27747] Modal operator in Special Menu (W) ignores continues grab
Campbell Barton [Fri, 24 Jun 2011 03:59:41 +0000 (03:59 +0000)]
fix [#27747] Modal operator in Special Menu (W) ignores continues grab

10 years agofix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
Campbell Barton [Fri, 24 Jun 2011 03:49:56 +0000 (03:49 +0000)]
fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
convert to grayscale when saving renders rather then only writing the red channel.

10 years agoW special menu for changing orthographic camera lens scale was missing
Daniel Salazar [Fri, 24 Jun 2011 03:41:07 +0000 (03:41 +0000)]
W special menu for changing orthographic camera lens scale was missing

btw continues grab doesn't work with this modal ops.. whats up?

10 years agorevert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE"...
Dalai Felinto [Thu, 23 Jun 2011 22:29:02 +0000 (22:29 +0000)]
revert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman
This was causing a lot of backward compatibility problems and side effects.

It has to be done properly, linked with Material ObjectColor shader_flag or at least the TF OBCOLOR (which apparently worked at some point so I've been told).
If you need to use OBCOLOR simply keyframe the obcolor and it will work as before.

10 years agoGHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
Brecht Van Lommel [Thu, 23 Jun 2011 19:55:47 +0000 (19:55 +0000)]
GHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
and into GHOST. Also fixes a problem where e.g. the user preferences window
would not open under the mouse cursor correctly.

10 years agoFix typo in addon user preferences menu.
Brecht Van Lommel [Thu, 23 Jun 2011 19:42:54 +0000 (19:42 +0000)]
Fix typo in addon user preferences menu.

10 years agoMore flexible size options for particle billboards. This adds scale factors for width...
Lukas Toenne [Thu, 23 Jun 2011 18:59:47 +0000 (18:59 +0000)]
More flexible size options for particle billboards. This adds scale factors for width and height of billboards, relative to the particle size. It's useful when the particle size is primarily used for collision and the like, so the billboard appearance can be adjusted independently. Also allows non-square billboards.
In addition the billboards can be scaled by the particle velocity with optional head and tail factors (similar to line drawing options). This allows for pseudo-motionblur effects.

10 years agoRemove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.
Nathan Letwory [Thu, 23 Jun 2011 17:29:18 +0000 (17:29 +0000)]
Remove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.

10 years agofix for building mingw in debug mode
Campbell Barton [Thu, 23 Jun 2011 16:33:59 +0000 (16:33 +0000)]
fix for building mingw in debug mode

10 years agoallow building with ffmpeg but not aud
Campbell Barton [Thu, 23 Jun 2011 16:10:48 +0000 (16:10 +0000)]
allow building with ffmpeg but not aud

10 years agocorrection to recent commit & made ffmpeg includes only add when enabled.
Campbell Barton [Thu, 23 Jun 2011 15:58:41 +0000 (15:58 +0000)]
correction to recent commit & made ffmpeg includes only add when enabled.

10 years agomistake in own commit.
Campbell Barton [Thu, 23 Jun 2011 15:12:05 +0000 (15:12 +0000)]
mistake in own commit.

10 years agocmake option to build without an audio library.
Campbell Barton [Thu, 23 Jun 2011 09:27:56 +0000 (09:27 +0000)]
cmake option to build without an audio library.

10 years agofix for function before definition in own recent commit.
Campbell Barton [Thu, 23 Jun 2011 07:50:28 +0000 (07:50 +0000)]
fix for function before definition in own recent commit.

10 years agochecks in rna range functions that the max value cant be less than the min.
Campbell Barton [Thu, 23 Jun 2011 06:13:21 +0000 (06:13 +0000)]
checks in rna range functions that the max value cant be less than the min.
also fix for invalid rage for FILE_OT_filenum.

10 years agofix for building on arch linux with ffmpeg version:
Campbell Barton [Thu, 23 Jun 2011 06:11:13 +0000 (06:11 +0000)]
fix for building on arch linux with ffmpeg version:
 LIBAVCODEC_VERSION_MAJOR 52
 LIBAVCODEC_VERSION_MINOR 122

10 years agofix [#27726] Driven properties not checked for legal UI bounds
Campbell Barton [Thu, 23 Jun 2011 05:58:44 +0000 (05:58 +0000)]
fix [#27726] Driven properties not checked for legal UI bounds

The rna set function clamps to the property range however properties with range functions were ignored when set by python or the animation system.

Now call the range function for ints and floats when setting.

10 years agoCamera tracking integration
Sergey Sharybin [Wed, 22 Jun 2011 17:43:09 +0000 (17:43 +0000)]
Camera tracking integration
===========================

Minor fix: curfra could be set to 0 when tracking fails
on first tracking frame.

10 years agoCamera tracking integration
Sergey Sharybin [Wed, 22 Jun 2011 16:28:41 +0000 (16:28 +0000)]
Camera tracking integration
===========================

Fixed bug with invalid colors for space clip when startup.blend
is created in 2.58 release build.

10 years agoProbably merging conflict. Reverting startup.blend to version from trunk.
Sergey Sharybin [Wed, 22 Jun 2011 16:16:25 +0000 (16:16 +0000)]
Probably merging conflict. Reverting startup.blend to version from trunk.

In my local GIT repo i've got rid of changing startup.blend -- it's unneeded
due to all needed stuff should be done via themes do_versions.

10 years agoAccidentally commited unneded change to libmv.
Sergey Sharybin [Wed, 22 Jun 2011 15:58:33 +0000 (15:58 +0000)]
Accidentally commited unneded change to libmv.

This change helps to track more stable, but it's a bit
hackish way of making things better.

10 years agoCamera tracking integraiton
Sergey Sharybin [Wed, 22 Jun 2011 14:54:53 +0000 (14:54 +0000)]
Camera tracking integraiton
===========================

- Corrected copyrights in my new files header.
- Added debug option to dump as PNG image content of search
  areas tracking between which was failed.
- Removed internal tracking settings like pyramid level and
  tolerance. Weren't useful neither for me nor for artists.
- Fixed bug in BKE_tracking_get_marker which could lead
  to failure of getting marker for current frame when
  there's marker for requested frame.
- Fixed bug with disappearing markers after tracking for
  cases when marker was added at frame different from
  tracking start frame and tracking start frame is
  equal to tracking end frame.
- Stop tracking when no markers could be tracked.
- Changed marker selection rules:
  * If marker isn't selected, all it's areas are getting
    selected with mouse.
  * If marker is selected and selection type doesn't have
    "extend" mode (SHIFT isn't holded down) the nearest
    to mouse cursor area would be selected. All the reast areas
    would loose selection.
- Limit number of frames which would be used in "Track Markers"
  operator. So now you could easily track along 10/20/etc frames.
- Change scene current frame after "Track Markers" operator.
- Implemented speed limitors. Now tracking could happen:
  * As fast as possible
  * With reatime speed (scene FPS)
  * With half of realtime speed
  * With quarter of realtime speed.
- Got rid of orig_user in MovieTrackingContext and user
  in TrackMarkersJob. This prevents crashes when user
  joins some space to SpaceClip from which tracking was started.
- Made keyframes on path bigger and do not draw keyframes for
  non-selected markers.

TODO: need to get rid of storing main, scene and screen
      in TrackMarkersJob. This is needed to set scene's
      current frame after tracking (such behavior is comfortable
      for artists) but this could lead to crash if scene is
      getting removed when tracking job is running.

      Render animation operator also stores scene and main,
      so such solution could be fine for first time before
      we've got something smarter.

10 years agoMerging r37704 through r37731 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 22 Jun 2011 14:44:54 +0000 (14:44 +0000)]
Merging r37704 through r37731 from trunk into soc-2011-tomato

10 years agoupdate automatic rna changelog
Campbell Barton [Wed, 22 Jun 2011 12:05:24 +0000 (12:05 +0000)]
update automatic rna changelog

10 years agocmake was installing .bfont.ttf in ~/.blender/VER/config, use ~/.blender/VER instead...
Campbell Barton [Wed, 22 Jun 2011 08:43:01 +0000 (08:43 +0000)]
cmake was installing .bfont.ttf in ~/.blender/VER/config, use ~/.blender/VER instead (as with scons)

10 years agosplit cmake check configuration out
Campbell Barton [Wed, 22 Jun 2011 05:30:06 +0000 (05:30 +0000)]
split cmake check configuration out

10 years agoBump version in Doxyfile.
Nathan Letwory [Tue, 21 Jun 2011 19:31:06 +0000 (19:31 +0000)]
Bump version in Doxyfile.

10 years agoMerging r37594 through r37703 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 21 Jun 2011 18:24:00 +0000 (18:24 +0000)]
Merging r37594 through r37703 from trunk into soc-2011-tomato

10 years agopep8 compliance
Campbell Barton [Tue, 21 Jun 2011 17:17:51 +0000 (17:17 +0000)]
pep8 compliance

10 years agoupdate cmake checker to ignore file list and add some headers to the source list.
Campbell Barton [Tue, 21 Jun 2011 17:00:34 +0000 (17:00 +0000)]
update cmake checker to ignore file list and add some headers to the source list.

10 years agoNew 2.58 splash image. Thanks Rogério Perdiz! v2.58
Ton Roosendaal [Tue, 21 Jun 2011 16:54:34 +0000 (16:54 +0000)]
New 2.58 splash image. Thanks Rogério Perdiz!
(Judge committee Sebastian_K && FrancoisGFX)

10 years agoUpping the release number to 2.58
Ton Roosendaal [Tue, 21 Jun 2011 16:38:28 +0000 (16:38 +0000)]
Upping the release number to 2.58

10 years agoSnapping/Project
Martin Poirier [Tue, 21 Jun 2011 15:28:13 +0000 (15:28 +0000)]
Snapping/Project

Disable editmesh as target if proportional edit is on (that was messed up incorrectly in revision 33233)

10 years ago1 pixel tweak to have outliner icons + selection circles align
Ton Roosendaal [Tue, 21 Jun 2011 13:02:21 +0000 (13:02 +0000)]
1 pixel tweak to have outliner icons + selection circles align
for default DPI. Problem now is that icons/text are scaling
and drawing with pixel units, whilst other items draw subpixel.
This makes not every dpi size result in perfect aligning yet.

10 years agoFix for [#26939] Hair Combing intersects emitter when combed fast
Janne Karhu [Tue, 21 Jun 2011 11:15:37 +0000 (11:15 +0000)]
Fix for [#26939] Hair Combing intersects emitter when combed fast
* Hair combing now uses substeps to apply the combing when the mouse movement exceeds 0.2 of the brush radius.
* This could make combing a bit slower on fast mouse movements, but the increase in combing quality is definitely worth it.

10 years agopy api: make all classes __init__ functions in a readonly state, except for operators.
Campbell Barton [Tue, 21 Jun 2011 08:09:42 +0000 (08:09 +0000)]
py api: make all classes __init__ functions in a readonly state, except for operators.

In bug [#27701], the panels __init__ function (which runs on every draw), was adding new rna properties.

10 years agoallow rna to set vertex parent indices, blender checks for invalid values on access.
Campbell Barton [Tue, 21 Jun 2011 07:41:49 +0000 (07:41 +0000)]
allow rna to set vertex parent indices, blender checks for invalid values on access.
build blenderplayer by default on linux with scons.

10 years agocorrect FSF address, as pointed out by Dave Plater
Campbell Barton [Tue, 21 Jun 2011 05:01:54 +0000 (05:01 +0000)]
correct FSF address, as pointed out by Dave Plater

10 years agofix for PLY import using directory only select, operators which define 'files' but...
Campbell Barton [Tue, 21 Jun 2011 04:03:26 +0000 (04:03 +0000)]
fix for PLY import using directory only select, operators which define 'files' but not 'filename' or 'filepath' would use the directory selector.

also made code less confusing.

10 years agofix [#27707] Script error for UVs->Copy Mirrored UV coords
Campbell Barton [Tue, 21 Jun 2011 02:16:22 +0000 (02:16 +0000)]
fix [#27707] Script error for UVs->Copy Mirrored UV coords

10 years agofix for error in swizzle assignment leaving an unhandled exception.
Campbell Barton [Tue, 21 Jun 2011 02:15:07 +0000 (02:15 +0000)]
fix for error in swizzle assignment leaving an unhandled exception.

10 years agofix for build with cmake (patch by Joerg Mueller)
Dalai Felinto [Mon, 20 Jun 2011 22:44:35 +0000 (22:44 +0000)]
fix for build with cmake (patch by Joerg Mueller)

10 years agoSet Player building to True by default.
Nathan Letwory [Mon, 20 Jun 2011 20:51:12 +0000 (20:51 +0000)]
Set Player building to True by default.

10 years agoBlender 2.58 release preparations:
Thomas Dinges [Mon, 20 Jun 2011 20:21:52 +0000 (20:21 +0000)]
Blender 2.58 release preparations:
* Update of Release Log Links to point to: http://www.blender.org/development/release-logs/blender-258/

10 years agoBlender 2.58 release preparations:
Thomas Dinges [Mon, 20 Jun 2011 20:15:02 +0000 (20:15 +0000)]
Blender 2.58 release preparations:
* Updated readme file.

10 years ago== CMake ==
Andrea Weikert [Mon, 20 Jun 2011 18:16:46 +0000 (18:16 +0000)]
== CMake ==
* added same definition used for compiling openjpeg with SCons, was causing issues when linking

10 years agofix for crash drawing zero length motion path and a leak with zero length paths.
Campbell Barton [Mon, 20 Jun 2011 17:50:59 +0000 (17:50 +0000)]
fix for crash drawing zero length motion path and a leak with zero length paths.

10 years agoFix related to #27689: unwrap, pack island, minimize stretch now cancel
Brecht Van Lommel [Mon, 20 Jun 2011 17:28:25 +0000 (17:28 +0000)]
Fix related to #27689: unwrap, pack island, minimize stretch now cancel
operator if there are no uv's selected.

10 years agoBugfix #27692
Ton Roosendaal [Mon, 20 Jun 2011 16:38:21 +0000 (16:38 +0000)]
Bugfix #27692

Render + compositing error:
When adding renderlayer nodes in a composite, without having own
scene render, the renderlayer nodes were not tagged as changed,
causing compositing to give previous result.

10 years agofix for incorrect bake api usage. but not a bug.
Campbell Barton [Mon, 20 Jun 2011 15:20:33 +0000 (15:20 +0000)]
fix for incorrect bake api usage. but not a bug.

10 years agosince render branch isnt planned to be merged now, enable strict warning flags for...
Campbell Barton [Mon, 20 Jun 2011 15:17:02 +0000 (15:17 +0000)]
since render branch isnt planned to be merged now, enable strict warning flags for cmake and tag unused vars.

10 years agoFix [#26912] [Collada] Screw up with names/ids on import
Nathan Letwory [Mon, 20 Jun 2011 12:43:10 +0000 (12:43 +0000)]
Fix [#26912] [Collada] Screw up with names/ids on import
Reported by Valeriy Firsov

Use the node name if it exists, fall back to id otherwise.

10 years agoFix [#26821] Import Collada: instance_node still incorrectly handled
Nathan Letwory [Mon, 20 Jun 2011 10:50:17 +0000 (10:50 +0000)]
Fix [#26821] Import Collada: instance_node still incorrectly handled
reported by David Roy
patch submitted by Camillo Dell'mour