10 years agoadded new context operator WM_OT_context_cycle_int, use for switching between active...
Campbell Barton [Wed, 21 Oct 2009 10:11:03 +0000 (10:11 +0000)]
added new context operator WM_OT_context_cycle_int, use for switching between active shape keys

10 years agoBugfix to allow list templates to have more than 5 rows when you set
Brecht Van Lommel [Wed, 21 Oct 2009 09:17:46 +0000 (09:17 +0000)]
Bugfix to allow list templates to have more than 5 rows when you set
it in the python script, didn't work correct with scrolling.

10 years ago- improvements from Mathias Panzenböck (panzi) patch [#19695], which avoid conversion...
Campbell Barton [Wed, 21 Oct 2009 07:56:08 +0000 (07:56 +0000)]
- improvements from Mathias Panzenböck (panzi) patch [#19695], which avoid conversion to/from strings with context property assignment. though didnt apply entire patch.
- [#19698] Add Menu Item: View3d -> Object -> Move to layer
  from Howard Brooks (hbroo)
- had cursor grab commented by mistake for X11

10 years agoOutliner: Tweaks for Driver Operators
Joshua Leung [Wed, 21 Oct 2009 05:59:51 +0000 (05:59 +0000)]
Outliner: Tweaks for Driver Operators

* Driver adding/removing operators in the Outliner now work properly for arrays
* Renamed these operators so that their names are more indicative of how they work (i.e. based on the data in the Outliner that is selected)
* Added a menu labelled 'Edit' in the Datablocks view which gives access to (and includes the hotkeys for) these tools.

10 years ago* fix for colour management, compositor image node wasn't working correctly. There...
Matt Ebb [Wed, 21 Oct 2009 00:33:08 +0000 (00:33 +0000)]
* fix for colour management, compositor image node wasn't working correctly. There are a few other issues around here I need to get to eventually as well..

10 years agoGraph Editor: Small optimisations for drawing
Joshua Leung [Tue, 20 Oct 2009 23:51:31 +0000 (23:51 +0000)]
Graph Editor: Small optimisations for drawing

Moving out a few gl state changes to higher-level calls to improve performance when drawing handles. This already improves the responsiveness a lot on a few files, though a few other tweaks will also help.

10 years agoBugfix #19696: Crash when adding an Empty or Force field
Joshua Leung [Tue, 20 Oct 2009 23:18:00 +0000 (23:18 +0000)]
Bugfix #19696: Crash when adding an Empty or Force field

10 years agoText Editor: Scrollbar now drawn on the right
Joshua Leung [Tue, 20 Oct 2009 22:51:20 +0000 (22:51 +0000)]
Text Editor: Scrollbar now drawn on the right

10 years agoSize and position are normally requested by program, not user.
Guillermo S. Romero [Tue, 20 Oct 2009 21:58:19 +0000 (21:58 +0000)]
Size and position are normally requested by program, not user.

10 years agoBugfix: rendering with multiple windows open did not use image editors
Brecht Van Lommel [Tue, 20 Oct 2009 21:13:42 +0000 (21:13 +0000)]
Bugfix: rendering with multiple windows open did not use image editors
with render results in other windows.

10 years ago[#19445] New Object is not Grabbed after using Duplicate Linked
Campbell Barton [Tue, 20 Oct 2009 21:12:09 +0000 (21:12 +0000)]
[#19445] New Object is not Grabbed after using Duplicate Linked

10 years agoRegion post redraw is now split up in a view space and pixel space
Brecht Van Lommel [Tue, 20 Oct 2009 21:05:22 +0000 (21:05 +0000)]
Region post redraw is now split up in a view space and pixel space
part. This fixes a bug where transform help line drawing would not
work with view clipping and mess up the z-buffer. This avoids the
transform code having to figure out what kind of opengl state is
enabled and disable it temporarily.

10 years ago[#19688] pressing O and alt+O doesn't toggle proportional edit mode when editing...
Campbell Barton [Tue, 20 Oct 2009 20:59:02 +0000 (20:59 +0000)]
[#19688] pressing O and alt+O doesn't toggle proportional edit mode when editing a lattice.
- proportional edit keybindings for particle and lattice

10 years agoBugfix for node editor refreshing too often when moving nodes,
Brecht Van Lommel [Tue, 20 Oct 2009 20:00:12 +0000 (20:00 +0000)]
Bugfix for node editor refreshing too often when moving nodes,
split up notifier in redraw/refresh.

10 years agoBugfix for paint cursor not showing up in paint/sculpt modes
Brecht Van Lommel [Tue, 20 Oct 2009 19:52:31 +0000 (19:52 +0000)]
Bugfix for paint cursor not showing up in paint/sculpt modes
after saving the file in that mode and reloading.

10 years agoBugfix for use of freed memory in jobs manager.
Brecht Van Lommel [Tue, 20 Oct 2009 19:46:36 +0000 (19:46 +0000)]
Bugfix for use of freed memory in jobs manager.

10 years agoBugfix: adding a curve path did not mark it as being a path/3d
Brecht Van Lommel [Tue, 20 Oct 2009 19:37:49 +0000 (19:37 +0000)]
Bugfix: adding a curve path did not mark it as being a path/3d
correctly, causing e.g. curve guides not to work with it.

10 years agomove G_FACESELECT from G.f to mesh->editflag, renamed to ME_EDIT_PAINT_MASK
Campbell Barton [Tue, 20 Oct 2009 19:27:27 +0000 (19:27 +0000)]
move G_FACESELECT from G.f to mesh->editflag, renamed to ME_EDIT_PAINT_MASK

10 years agoSmoke:
Daniel Genrich [Tue, 20 Oct 2009 19:22:19 +0000 (19:22 +0000)]
* Revert "speedup" through not using GL_POLYGON - wasn't helping at all, only confusing the source

10 years agoBugfix: render clipping was not using correct matrix, own mistake
Brecht Van Lommel [Tue, 20 Oct 2009 19:14:55 +0000 (19:14 +0000)]
Bugfix: render clipping was not using correct matrix, own mistake
in recent commit.

10 years agobasename() function, at least know it should compile.
Guillermo S. Romero [Tue, 20 Oct 2009 19:09:12 +0000 (19:09 +0000)]
basename() function, at least know it should compile.
Feel free to replace with the proper WIN32 code.

10 years agoBugfix for a crash with the cut tool in particle mode.
Brecht Van Lommel [Tue, 20 Oct 2009 18:49:21 +0000 (18:49 +0000)]
Bugfix for a crash with the cut tool in particle mode.

10 years agoBugfix: raytracer building could crash (abort due to an assert), when
Brecht Van Lommel [Tue, 20 Oct 2009 18:27:46 +0000 (18:27 +0000)]
Bugfix: raytracer building could crash (abort due to an assert), when
using for example a text object scaled down to size zero. This was due
to nan's generated through division by zero.

10 years agofix for mirror select and added to the menu
Campbell Barton [Tue, 20 Oct 2009 17:10:01 +0000 (17:10 +0000)]
fix for mirror select and added to the menu

10 years agoSmoke:
Daniel Genrich [Tue, 20 Oct 2009 17:08:07 +0000 (17:08 +0000)]
* "Fixing" slowdown (no idea where it comes from) by lowering the number of drawn slices again

10 years agoBugfixes for quit.blend + library linking, the last commit didn't solve
Brecht Van Lommel [Tue, 20 Oct 2009 16:43:25 +0000 (16:43 +0000)]
Bugfixes for quit.blend + library linking, the last commit didn't solve
that completely:

* quit.blend is saved from the undo file, which did not save out library
  ID_LI and ID_ID blocks, for quick undo keeping the library datablocks.
  However this means library links are lost on reading the quit.blend, so
  now instead of not writing them, they are not read on undo.
* Libraries were not not using the right path yet always.

Note the screen setup is still not recovered from the quit.blend if no
auto save happened yet, but that is not important enough to spend time on

10 years ago- editmesh select mirror (in editmode select menu)
Campbell Barton [Tue, 20 Oct 2009 16:31:03 +0000 (16:31 +0000)]
- editmesh select mirror (in editmode select menu)
- weight blending (Vertex specials menu), currently blends from surrounding unselected verts (nice for blending edge loops), but will eventually support face mask mode.

10 years agoFix in KDL for gcc 3.3 compilation
Ton Roosendaal [Tue, 20 Oct 2009 16:02:41 +0000 (16:02 +0000)]
Fix in KDL for gcc 3.3 compilation
Thanks to Benoit Bolsee and Alexander Clausen for help!

10 years agoSmoke:
Daniel Genrich [Tue, 20 Oct 2009 15:51:25 +0000 (15:51 +0000)]
* Use GL_QUADS and GL_TRIANGLES instead of GL_POLYGON for faster drawing
* Use variable count of slices

10 years agoFixes to get Blender compile and run on PowerPC OSX 10.3, gcc 3.3
Ton Roosendaal [Tue, 20 Oct 2009 15:51:18 +0000 (15:51 +0000)]
Fixes to get Blender compile and run on PowerPC OSX 10.3, gcc 3.3
(yes antique, but having 5 year old OS's work is very cool)

In short:
- include <cmath> after <math.h> fails
- STL template issues (recursion, syntax)

10 years agoCocoa:
Damien Plisson [Tue, 20 Oct 2009 15:23:04 +0000 (15:23 +0000)]
- fix windowDidResize event not forwarded in some cases on 10.6
- fix crash on repeated Cmd-Q + Cancel quit actions
- place stub for .blend drop on blender app icon

10 years agosplit weight normalize into 2 operators, normalize and normalize_all.
Campbell Barton [Tue, 20 Oct 2009 13:59:26 +0000 (13:59 +0000)]
split weight normalize into 2 operators, normalize and normalize_all.
Added an option for normalize_all that keeps the active group at its existing weight while normaling all other groups around it.
Thsi makes it easy to paint up to 100% where all other groups will use progressivly less until the active group is 100% and all others are 0.

Added weight operators to the toolbar

10 years agoAuto Save
Brecht Van Lommel [Tue, 20 Oct 2009 13:58:53 +0000 (13:58 +0000)]
Auto Save

Auto save is now working again in 2.5. It will also remember now what
the location of the original file was when recovering it, so that
library links still work and saving the restored file does not save to
the temp directory. There is also a new Recover Auto Save operator
which will open the filebrowser in the temp directory and show the
auto saved .blends.

Implemenation Notes:

* Timer storage was moved from window to windowmanager, so we can have
  windowmanager level timers too now, doesn't make sense to have
  autosave timer attached to a particular window.
* FileGlobal now has a filename field storing where the file was saved.
  Note that this is only used when loading a file through the recover
  operators, regular file read doesn't use it, so copying the quit.blend
  manually over the original file will still work as expected.
* Jobs timer no longer uses operator now, this seems more like an
  internal thing, changing keymaps should not make it possible to break
  the jobs manager.
* Autosave is postponed by 10 seconds when a modal operator is running,
  e.g. transform or file browsing.
* Moved setting G.sce in setup_app_data before depsgraph updates, these
  can use the filename for pointcaches.

10 years agoAdded a button in the header to toggle full screen mode. It'd be nice to have this...
William Reynish [Tue, 20 Oct 2009 13:56:53 +0000 (13:56 +0000)]
Added a button in the header to toggle full screen mode. It'd be nice to have this right-aligned, but this doesn't seem possible in the layout engine currently.

10 years agoSmoke:
Daniel Genrich [Tue, 20 Oct 2009 13:46:47 +0000 (13:46 +0000)]
* Fix 3dview drawing issue which caused smoke to disappear in some cases, reported by nudelZ

10 years agoGraph Editor: Added 2D Cursor
Joshua Leung [Tue, 20 Oct 2009 12:04:56 +0000 (12:04 +0000)]
Graph Editor: Added 2D Cursor

I've finally given in, and implemented a '2d-cursor' for the Graph Editor. This is simply represented as an additional horizontal line that meets with the current frame indicator, forming a cross-hair. It can be disabled from the View menu.

Currently, the only tool which takes this into account is the Snapping tools (Shift-S), where I've hooked up a tool I added some time ago.

- expose this cursor to the transform tools for scaling/rotation options...

10 years agoRenamed the modifier category 'Physics' to 'Simulate'. Seems to better encompass...
William Reynish [Tue, 20 Oct 2009 11:26:21 +0000 (11:26 +0000)]
Renamed the modifier category 'Physics' to 'Simulate'. Seems to better encompass those modifiers.

10 years ago*Made the Add Constraint menu similar to modifiers, with categories in columns. Makes...
William Reynish [Tue, 20 Oct 2009 10:41:44 +0000 (10:41 +0000)]
*Made the Add Constraint menu similar to modifiers, with categories in columns. Makes them consistent, and also ensures the menu fits even on smaller displays.
*Put the Modifiers tab *before* the ObData (mesh, curve etc) tab, because modifiers actually apply to Object , not the ObData, even though the opposite would appear to make more sense.

10 years agoweight paint operators - normalize/clean/invert
Campbell Barton [Tue, 20 Oct 2009 10:19:48 +0000 (10:19 +0000)]
weight paint operators - normalize/clean/invert

10 years agoUse Eigen2 2.0 head version rather then 2.0.6. It contains various bug fix.
Benoit Bolsee [Tue, 20 Oct 2009 09:50:24 +0000 (09:50 +0000)]
Use Eigen2 2.0 head version rather then 2.0.6. It contains various bug fix.

10 years agoRenamed "Save Key Configuration" to "Export Key Configuration", so it
Brecht Van Lommel [Tue, 20 Oct 2009 08:47:28 +0000 (08:47 +0000)]
Renamed "Save Key Configuration" to "Export Key Configuration", so it
is clear this is different from "Save As Default".

10 years agoCocoa:
Damien Plisson [Tue, 20 Oct 2009 08:13:12 +0000 (08:13 +0000)]
- fix 10.6 API used in window resizing callback causing crash on 10.5 systems (Thx Jasper Mine for the bug report)
- implemented min window size enforcement to prevent tiny windows messing up blender's internal ui layout (same as done by Campbell on X11, is a partial fix of bug #19550)
- added (commented) code for enabling multithreaded opengl (this optimization is here for experimental tests, not for mainstream, so bleeding edge testers would want to uncomment the three "Multithreaded opengl code : uncomment for enabling" sections)

10 years agoAttempted fix for mingw buildinfo.c compile problem.
Brecht Van Lommel [Tue, 20 Oct 2009 08:01:17 +0000 (08:01 +0000)]
Attempted fix for mingw buildinfo.c compile problem.

10 years agoset the min size hints for x11 to prevent tiny windows messing up blenders internal...
Campbell Barton [Tue, 20 Oct 2009 07:51:42 +0000 (07:51 +0000)]
set the min size hints for x11 to prevent tiny windows messing up blenders internal ui layout

10 years agoFixes for Path-Renaming Fix:
Joshua Leung [Tue, 20 Oct 2009 04:07:57 +0000 (04:07 +0000)]
Fixes for Path-Renaming Fix:

* Now the old/new names get tagged with [" "] before the search and replace operation, which should alleviate problems with searching for 'bone' and ending up with all instances of 'boney' 'boney.r' etc. also getting renamed.

* Cleaned up some compiler warnings, and removed an unused function from an earlier attempt at this work.

10 years agoBugfix #19663: Renaming named data doesn't fix F-Curves
Joshua Leung [Tue, 20 Oct 2009 03:44:35 +0000 (03:44 +0000)]
Bugfix #19663: Renaming named data doesn't fix F-Curves

RNA Paths used in F-Curve, Drivers, etc. now get renamed when some data that they use gets renamed. This only works when things like Bones, Constraints, Shape Keys, and Modifiers get renamed, but other cases can get added easily.

The code here only performs simple string replacements, so there is the potential for problems when several sets of data with the same names are present. For example, if there are multiple armatures with bones that have the same names, renaming a bone on one armature (with a bone on another armature having the same name) will break all the drivers on the other one, even though they aren't really connected. However, I don't expect the aforementioned scenario to really be a problem in most production scenarios.

10 years agoRearrange includes, and more fill_paths code.
Guillermo S. Romero [Tue, 20 Oct 2009 02:20:00 +0000 (02:20 +0000)]
Rearrange includes, and more fill_paths code.

10 years agoetch-a-ton RNA and UI, back in 2.5
Martin Poirier [Tue, 20 Oct 2009 00:45:51 +0000 (00:45 +0000)]
etch-a-ton RNA and UI, back in 2.5

10 years agoseparate image strip length popup
Campbell Barton [Mon, 19 Oct 2009 21:34:38 +0000 (21:34 +0000)]
separate image strip length popup

10 years agofile browser
Andrea Weikert [Mon, 19 Oct 2009 19:26:28 +0000 (19:26 +0000)]
file browser
* the code for BLI_is_dir can be shared on Windows, no need of extra implementation - error was usage of BLI_exists instead of BLI_exist!
* left BLI_is_dir in since it's nicer to read and understand
* also removed deprecated outliner_header from MSVC projectfiles.

10 years agofix for crashing when unlinking a world from a scene
Campbell Barton [Mon, 19 Oct 2009 19:17:05 +0000 (19:17 +0000)]
fix for crashing when unlinking a world from a scene

10 years agoConsolidate tube and cylinder primitives.
Martin Poirier [Mon, 19 Oct 2009 19:16:15 +0000 (19:16 +0000)]
Consolidate tube and cylinder primitives.

Removing old add tube operator and replacing it with add cylinder. The resulting operator is called add tube, since that's the name in the menu. Other people can debate about the name and change it later if they feel like it.

10 years agoSome cleanup for particle edit snap.
Martin Poirier [Mon, 19 Oct 2009 18:49:04 +0000 (18:49 +0000)]
Some cleanup for particle edit snap.

Update comment to point at the root of the problem.

10 years agoContinue development of bfile system.
Guillermo S. Romero [Mon, 19 Oct 2009 18:44:09 +0000 (18:44 +0000)]
Continue development of bfile system.
Still not usable, but some parts could be made more portable already.
Help welcome for MacOSX and MSWindows calls and paths.

10 years agorun flushTransParticles after snapping applyProject so you can project/snap particles...
Campbell Barton [Mon, 19 Oct 2009 17:50:26 +0000 (17:50 +0000)]
run flushTransParticles after snapping applyProject so you can project/snap particles in editmode

10 years agoGet 2.5 trunk to compile. this C++ code failed for gcc 3.3.
Ton Roosendaal [Mon, 19 Oct 2009 17:47:24 +0000 (17:47 +0000)]
Get 2.5 trunk to compile. this C++ code failed for gcc 3.3.

Error log:

/usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::ceil(float)':
/usr/include/gcc/darwin/3.3/c++/cmath:175: error: parse error before `(' token
/usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::floor(float)':
/usr/include/gcc/darwin/3.3/c++/cmath:249: error: parse error before `(' token
/usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::fmod(float,
/usr/include/gcc/darwin/3.3/c++/cmath:267: error: parse error before `(' token

10 years ago- enable snap to work for particle editmode so you can snap onto the emitter.
Campbell Barton [Mon, 19 Oct 2009 17:20:09 +0000 (17:20 +0000)]
- enable snap to work for particle editmode so you can snap onto the emitter.
  theeth: maybe there needs to be a new SnapMode for this? - SNAP_SELF?, like editmode but without setting t->editob

- dont run special_aftertrans_update on scene objects when after sequencer transform

10 years agoPatch #19667: cmake/windows build info now has time & date,
Brecht Van Lommel [Mon, 19 Oct 2009 17:18:31 +0000 (17:18 +0000)]
Patch #19667: cmake/windows build info now has time & date,
patch by Guillaume, thanks!

10 years agoFix #19618: invalid vertex group data could be created when
Brecht Van Lommel [Mon, 19 Oct 2009 17:11:42 +0000 (17:11 +0000)]
Fix #19618: invalid vertex group data could be created when
assign vertices without an existing vertex group, causing e.g.
armature modifiers to crash.

10 years agoAdded old 2.4x keymap entries for Open, Save As, and Save Image, per request from...
William Reynish [Mon, 19 Oct 2009 17:10:16 +0000 (17:10 +0000)]
Added old 2.4x keymap entries for Open, Save As, and Save Image, per request from Ton.

10 years agoFix #19574: winbuildinfo.h error when compiling with cmake on windows. I've now remov...
Brecht Van Lommel [Mon, 19 Oct 2009 16:55:51 +0000 (16:55 +0000)]
Fix #19574: winbuildinfo.h error when compiling with cmake on windows. I've now removed winbuildinfo.h code and let scons on window just set environment vars like other operating systems. Note that cmake still doesn't get the date information on windows, implementation is missing for this.

10 years agoBugfix: scons builds didn't print build info when running blender -v.
Brecht Van Lommel [Mon, 19 Oct 2009 16:29:26 +0000 (16:29 +0000)]
Bugfix: scons builds didn't print build info when running blender -v.

10 years agoFix/workaround #19617: new raytracer use of SSE is crashing Mingw builds,
Brecht Van Lommel [Mon, 19 Oct 2009 15:58:09 +0000 (15:58 +0000)]
Fix/workaround #19617: new raytracer use of SSE is crashing Mingw builds,
so disable SSE in that case now.

10 years agoFix #19523: spot lamp blend display size was tweaked so it was always
Brecht Van Lommel [Mon, 19 Oct 2009 15:53:57 +0000 (15:53 +0000)]
Fix #19523: spot lamp blend display size was tweaked so it was always
showing, but that also is confusing because it then shows the wrong
size, so just hide it now when blend size is 0 or 1.

10 years agoweightpaint bug where hidden faces would not draw into the backbuffer, now check...
Campbell Barton [Mon, 19 Oct 2009 15:01:07 +0000 (15:01 +0000)]
weightpaint bug where hidden faces would not draw into the backbuffer, now check face mask mode first which is where hidden faces also dont draw.

10 years agoScons/make update for use of GPU include in interface module.
Brecht Van Lommel [Mon, 19 Oct 2009 14:54:42 +0000 (14:54 +0000)]
Scons/make update for use of GPU include in interface module.

10 years agoFix #19645: debug properties not showing while game is running.
Brecht Van Lommel [Mon, 19 Oct 2009 14:48:35 +0000 (14:48 +0000)]
Fix #19645: debug properties not showing while game is running.

10 years agoCMake files update to allow use of MAC OSX 10.5 libs (and build 64bit blender on...
Damien Plisson [Mon, 19 Oct 2009 14:38:19 +0000 (14:38 +0000)]
CMake files update to allow use of MAC OSX 10.5 libs (and build 64bit blender on mac)

The WITH_LIBS10.5 option switches the use of the libs included in the darwin-9.x.universal folder

Use the CMAKE_OSX_ARCHITECTURES variable to set the architecture you want to build for (e.g. i386, x86_64). Only one at a time, this value is used to select the python_?.zip that is bundled with the app.

WITH_COCOA (build Cocoa ghost and not Carbon) is now on by default.

10 years agoFix #19604: defocus node was not using camera object yet. Could use
Brecht Van Lommel [Mon, 19 Oct 2009 14:32:32 +0000 (14:32 +0000)]
Fix #19604: defocus node was not using camera object yet. Could use
a proper fix, but for now this makes things work again.

10 years agoFix #19627: previews in materials nodes were not cleared before re-render.
Brecht Van Lommel [Mon, 19 Oct 2009 14:10:37 +0000 (14:10 +0000)]
Fix #19627: previews in materials nodes were not cleared before re-render.

10 years ago- added xmirror to the weightpaint options
Campbell Barton [Mon, 19 Oct 2009 14:03:02 +0000 (14:03 +0000)]
- added xmirror to the weightpaint options
- made texture_slot return the texture slot for the node texture

10 years agoFix #19605: material hardness was wrapped as float while it is an int,
Brecht Van Lommel [Mon, 19 Oct 2009 13:41:02 +0000 (13:41 +0000)]
Fix #19605: material hardness was wrapped as float while it is an int,
which made number buttons not increase the value on clicking the arrows.

10 years agoMoved some tool settings (mirror, auto-IK) to the tools pane.
William Reynish [Mon, 19 Oct 2009 13:24:18 +0000 (13:24 +0000)]
Moved some tool settings (mirror, auto-IK) to the tools pane.

10 years agoAnother fix for duplicating objects with particles.
Brecht Van Lommel [Mon, 19 Oct 2009 13:21:37 +0000 (13:21 +0000)]
Another fix for duplicating objects with particles.

10 years agoFix #19588: duplicating objects with particle systems would crash.
Brecht Van Lommel [Mon, 19 Oct 2009 13:17:47 +0000 (13:17 +0000)]
Fix #19588: duplicating objects with particle systems would crash.
Also an unrelated warning fix.

10 years agoFix #19678: full sample / save buffers was crashing due to two issues:
Brecht Van Lommel [Mon, 19 Oct 2009 13:09:24 +0000 (13:09 +0000)]
Fix #19678: full sample / save buffers was crashing due to two issues:
* Nested write lock on render results.
* RayHits pass was always enabled, commented it out now.

10 years agouse the meshes mirror flag for weight painting
Campbell Barton [Mon, 19 Oct 2009 13:09:13 +0000 (13:09 +0000)]
use the meshes mirror flag for weight painting

10 years agoMake the sequencer Ctrl+RMB select all strips on the mouse side of the playhead...
Campbell Barton [Mon, 19 Oct 2009 12:27:40 +0000 (12:27 +0000)]
Make the sequencer  Ctrl+RMB select all strips on the mouse side of the playhead (just like the dope sheet).

Changes how selecting linked left/right work since this conflicts. rather then Ctrl for left and Alt for right, Just use Alt and select the side based on the handle selected.

10 years agoFix #19646: changing collision bounds type in game physics was
Brecht Van Lommel [Mon, 19 Oct 2009 12:19:19 +0000 (12:19 +0000)]
Fix #19646: changing collision bounds type in game physics was
missing viewport redraw.

10 years agoFix #19638: crash when assiging self in boolean modifier.
Brecht Van Lommel [Mon, 19 Oct 2009 12:13:32 +0000 (12:13 +0000)]
Fix #19638: crash when assiging self in boolean modifier.

* UI now takes ID self check flag into account so that e.g. it
  doesn't offer to the make object it's own parent.
* Mesh loop cuts number of cuts had wrong limits.
* Don't use mesh_get_derived_final in modifier stack, but
  ob->derivedFinal instead. Avoids crashes on dependency loops,
  and in case there is no loop it should have been created.

10 years agoFix #19632: GLSL was not updated for soft/linear light blending modes.
Brecht Van Lommel [Mon, 19 Oct 2009 11:50:01 +0000 (11:50 +0000)]
Fix #19632: GLSL was not updated for soft/linear light blending modes.

10 years agoFix use of uninitialized variable in node editor.
Brecht Van Lommel [Mon, 19 Oct 2009 11:49:23 +0000 (11:49 +0000)]
Fix use of uninitialized variable in node editor.

10 years ago- fixed python error when there is no active object
Campbell Barton [Mon, 19 Oct 2009 11:39:57 +0000 (11:39 +0000)]
- fixed python error when there is no active object
- made sequence strip selection more like object mode - only de-select the active with Shift+RMB

10 years agoFix #19640: user defined keymaps did not use poll function.
Brecht Van Lommel [Mon, 19 Oct 2009 11:11:35 +0000 (11:11 +0000)]
Fix #19640: user defined keymaps did not use poll function.

10 years agoFix #19683: rendering with compo nodes but no render layer node crashed.
Brecht Van Lommel [Mon, 19 Oct 2009 11:04:56 +0000 (11:04 +0000)]
Fix #19683: rendering with compo nodes but no render layer node crashed.

10 years agoFix #19633: material & texture didn't use autocomplete for
Brecht Van Lommel [Mon, 19 Oct 2009 11:00:43 +0000 (11:00 +0000)]
Fix #19633: material & texture didn't use autocomplete for
selecting uv layers yet.

10 years agoFix #19622: crash in glsl, forgot to commit this file when
Brecht Van Lommel [Mon, 19 Oct 2009 10:49:46 +0000 (10:49 +0000)]
Fix #19622: crash in glsl, forgot to commit this file when
I changed the GLSL code for texture influences update.

10 years agoCocoa :
Damien Plisson [Mon, 19 Oct 2009 10:49:45 +0000 (10:49 +0000)]
Cocoa :
- fix#19592 : implemented updated continuous grab feature (fixing compilation issues)
- fix some 10.6 & 64bit warnings

10 years agofix for bug where moving strips that are next to eachother would detect invalid overlaps
Campbell Barton [Mon, 19 Oct 2009 10:37:50 +0000 (10:37 +0000)]
fix for bug where moving strips that are next to eachother would detect invalid overlaps
first update strips, then check overlap in a second loop

10 years agoFix #19669 and other: triple buffer & icon texture drawing could cause
Brecht Van Lommel [Mon, 19 Oct 2009 10:10:05 +0000 (10:10 +0000)]
Fix #19669 and other: triple buffer & icon texture drawing could cause
a system crash and other issues on ATI/Apple, due to a buggy driver
(similar issues reported for other OpenGL applications). For now, work
around it by not using non-power-of-two textures on this combination.

10 years ago- listener for sequencer space panels added for frame changes, now redraws during...
Campbell Barton [Mon, 19 Oct 2009 10:07:19 +0000 (10:07 +0000)]
- listener for sequencer space panels added for frame changes, now redraws during transform
- invalid pointer was used for getting the sequencer length crashing blender or setting the length to negative values.
- printf_strip(seq) for debugging sequence strip locations
- Spelling: Cheet Sheet -> Cheat Sheet

10 years agoFix for a preview render crash that happened sometimes, when
Brecht Van Lommel [Mon, 19 Oct 2009 09:57:55 +0000 (09:57 +0000)]
Fix for a preview render crash that happened sometimes, when
the thread was marked as ready while it had not started yet.

10 years agoFix #19657: crash when cancelling volume material render, raytree
Brecht Van Lommel [Mon, 19 Oct 2009 09:54:25 +0000 (09:54 +0000)]
Fix #19657: crash when cancelling volume material render, raytree
is invalid if it cancels during build, so don't use it then.

Also fixes some use of unitialized variables in raytracing code.

10 years agoFixed Layout-Engine bug that was causing checkbox menu entries to draw with the wrong...
Joshua Leung [Mon, 19 Oct 2009 09:50:02 +0000 (09:50 +0000)]
Fixed Layout-Engine bug that was causing checkbox menu entries to draw with the wrong icon when enabled.

10 years agoGive sequencer its own transform freeing function.
Campbell Barton [Mon, 19 Oct 2009 08:01:30 +0000 (08:01 +0000)]
Give sequencer its own transform freeing function.
Updating the sequencer after transform could not use special_aftertrans_update because it relies on data that is freed

theeth: moved the customFree function to run before freeing t->data, t->data2d in postTrans(), checked that customData is not needed.

10 years agoAssorted 3D-View Tweaks:
Joshua Leung [Mon, 19 Oct 2009 04:56:19 +0000 (04:56 +0000)]
Assorted 3D-View Tweaks:
* Paste Flipped Pose in PoseMode should now work. The parameters weren't getting set before

* Added a notifier that gets sent when changing layers with scene lock on. For some reason, this doesn't seem to be sending the correct updates though.

* Made the tools region no longer overlap the 3D-View. The default .b.blend file still needs to be updated so that this gets reflected.

10 years agoPatch #19034: (2.5) Display titles of closed panels in horizontal mode
Joshua Leung [Mon, 19 Oct 2009 03:54:30 +0000 (03:54 +0000)]
Patch #19034: (2.5) Display titles of closed panels in horizontal mode

This patch was one of the patches submitted by Wolfgang W. (bender) (the others have already been committed). In the patch, there was commented out code for counter-clockwise rotation of the text, but I've removed that.


In this commit, I've also removed all of the panel tabbing code instead of merely commenting it out.

10 years agoGraph Editor: Visibility toggles improved (Durian Request)
Joshua Leung [Mon, 19 Oct 2009 02:17:57 +0000 (02:17 +0000)]
Graph Editor: Visibility toggles improved (Durian Request)

Toggling one of the visibility toggles in the Graph Editor now flushes the new value up/down the hierarchy.
- when enabling a visibility toggle, all the 'higher' up and lower down channels get their visibility turned on
- when disabling a visibility toggle, only the ones lower down get their visibility turned off (since there might still be other channels at the same level which are still enabled.

This makes showing/hiding groups of F-Curves much easier, since previously you'd have to use multiple clicks to isolate particular F-Curves. For example, to isolate only X Location curves, previously, the workflow would have been to select all AKEY, hide all VKEY, then toggle the individual X Location curves in group, then make sure the groups and objects, etc. were also visible. Now, the steps of making sure that the parents were visible too has been eliminated.


Also, fixed a few minor bugs with the animation-backend code for Graph Editor.

10 years ago[#19680] Add cap ends option for new cylinders in 2.5
Martin Poirier [Sun, 18 Oct 2009 23:23:41 +0000 (23:23 +0000)]
[#19680] Add cap ends option for new cylinders in 2.5

Patch by Howard Brooks

10 years agoselect all seq strips removed other flags, add menu was running exec rather then...
Campbell Barton [Sun, 18 Oct 2009 21:32:03 +0000 (21:32 +0000)]
select all seq strips removed other flags, add menu was running exec rather then invoke.