12 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.

12 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

12 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.

12 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.

12 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.

12 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

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

12 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.

12 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

12 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.

12 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.

12 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.

12 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

12 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

12 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

12 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!

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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

12 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

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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.

12 years agoSmall particles feature: Multiple group visualization counts per group object are...
Janne Karhu [Sun, 18 Oct 2009 21:12:04 +0000 (21:12 +0000)]
Small particles feature: Multiple group visualization counts per group object are now possible (+/- buttons next to the count list). This allows for example an array of duplicated objects "ob1, ob2, ob1, ob3" without duplicating the actual object (ob1 in the example) in the group.

12 years agoChanging particle physics type to boids and not boids multiple times crashed.
Janne Karhu [Sun, 18 Oct 2009 20:52:15 +0000 (20:52 +0000)]
Changing particle physics type to boids and not boids multiple times crashed.

12 years agoFix for [#19610] Hair cut tool, keeps cutting hidden hairs.
Janne Karhu [Sun, 18 Oct 2009 19:48:33 +0000 (19:48 +0000)]
Fix for [#19610] Hair cut tool, keeps cutting hidden hairs.

12 years ago2.5/Sculpt:
Nicholas Bishop [Sun, 18 Oct 2009 18:48:48 +0000 (18:48 +0000)]

Fixed "Persistent" option for layer brush, someone changed the RNA name but missed the UI script

12 years agoBugfix: memory was leaking when opening a new file (Ctl-N). Reports were not being...
Ken Hughes [Sun, 18 Oct 2009 18:05:34 +0000 (18:05 +0000)]
Bugfix: memory was leaking when opening a new file (Ctl-N).  Reports were not being freed.

Brecht (or someone), can you check this?

12 years agofix Win64 compile: Should now work with cmake again, does this break win64 scons...
Daniel Genrich [Sun, 18 Oct 2009 17:41:42 +0000 (17:41 +0000)]
fix Win64 compile: Should now work with cmake again, does this break win64 scons anyone?

12 years agoBug fixes:
Janne Karhu [Sun, 18 Oct 2009 16:55:33 +0000 (16:55 +0000)]
Bug fixes:
[#19596] Child particle in particle mode show for one redraw, then disappear
[#19598] Draw actual particles options draws in wrong location

12 years agominor changes to x11 cursor grab wrapping
Campbell Barton [Sun, 18 Oct 2009 09:55:39 +0000 (09:55 +0000)]
minor changes to x11 cursor grab wrapping
- when wrapping 2 mouse events were added.
- on release blender still had the last event (possibly outside the screen), where menus would fail to show. Add a mouse event by calling XWarpPointer with no movement when leaving grab.

12 years agoRemoving MESH_OT_vertices_transform_to_sphere.
Martin Poirier [Sun, 18 Oct 2009 02:55:30 +0000 (02:55 +0000)]
Removing MESH_OT_vertices_transform_to_sphere.

This operator was a port of the old ToSphere button that worked only around the cursor.

To Sphere transform (Alt-Shift-S) can already do it around cursor if pivot is set to that, can be used interactively and work on more data types, so this is unneeded.

12 years agoReverting revision 23913.
Martin Poirier [Sun, 18 Oct 2009 02:45:05 +0000 (02:45 +0000)]
Reverting revision 23913.

Actions on press is used everywhere in Blender, lets not make an exception here because there's something missing in the event system.

Bug report and potential solution is here, if anyone wants to have a go at it:

12 years agoAnother attempt to fix the problems with confirming transforms while snapping (LMB...
Joshua Leung [Sun, 18 Oct 2009 02:15:55 +0000 (02:15 +0000)]
Another attempt to fix the problems with confirming transforms while snapping (LMB confirm, CTRL-key still held for snapping) and "ctrl-click" extrusion.

Made the confirm keymap for transforms use KM_RELEASE instead of KM_ANY (I didn't see any case where this failed yet?), and restored the "ctrl-click" as it was before r23903

12 years agoBugfix #19673: Blender crashes when I open "operator cheat sheet"
Joshua Leung [Sun, 18 Oct 2009 02:06:06 +0000 (02:06 +0000)]
Bugfix #19673: Blender crashes when I open "operator cheat sheet"

Missing check before using 'obedit' pointer for shape_itemf() (i.e. shapekey enum generator)

12 years agoSmoke:
Daniel Genrich [Sat, 17 Oct 2009 22:34:40 +0000 (22:34 +0000)]
*Should fix crash with collision objects

12 years agoAdded torus icon to the add menu, and made naming consistent with the other add menus.
William Reynish [Sat, 17 Oct 2009 21:08:22 +0000 (21:08 +0000)]
Added torus icon to the add menu, and made naming consistent with the other add menus.

12 years agowrap the mouse within the region while grabbing so on release the current view never...
Campbell Barton [Sat, 17 Oct 2009 19:32:28 +0000 (19:32 +0000)]
wrap the mouse within the region while grabbing so on release the current view never changes and less likelyhood of loosing the cursor when running blender on 2+ screens. (assuming the 3d view isnt stretched over both)

12 years agosimple fix for blend from shape when no keys exist
Campbell Barton [Sat, 17 Oct 2009 16:52:09 +0000 (16:52 +0000)]
simple fix for blend from shape when no keys exist

12 years agoenable wrap cursor for transform. might want this disabled when the manipulator is...
Campbell Barton [Sat, 17 Oct 2009 15:25:19 +0000 (15:25 +0000)]
enable wrap cursor for transform. might want this disabled when the manipulator is used?

12 years ago- wrapping failed with the cursor at the screen edge,
Campbell Barton [Sat, 17 Oct 2009 14:54:13 +0000 (14:54 +0000)]
- wrapping failed with the cursor at the screen edge,
- changed numbuts behavior with continuous grab so dragging back after passing the button limit immediately adjusts the value

12 years agoTemporary remap extrude to Ctrl+Alt+Click, to avoid conflict with transform.
Martin Poirier [Sat, 17 Oct 2009 14:45:49 +0000 (14:45 +0000)]
Temporary remap extrude to Ctrl+Alt+Click, to avoid conflict with transform.

12 years agoAdjustments to continuous grab
Campbell Barton [Sat, 17 Oct 2009 14:08:01 +0000 (14:08 +0000)]
Adjustments to continuous grab
- Use an enum for grab modes rather then boolean options.
 -- GHOST_kGrabNormal: continuous grab userpref disabled
 -- GHOST_kGrabWrap: wrap the mouse at the screen bounds *
 -- GHOST_kGrabHide: hide the mouse while grabbing and restore the mouse where it was initially pressed *

GrabWrap is nice for transform and tools where you want some idea where the cursor is, previously I found both restoring the mouse at its original location and restoring at a clamped location was confusing with operators like transform, wrapping is not ideal but IMHO the best of a bad bunch of options.
GrabHide  is for numbuts, where restoring the mouse at the initial location isnt so confusing.

12 years agoAssorted tweaks for animation editors:
Joshua Leung [Sat, 17 Oct 2009 04:22:52 +0000 (04:22 +0000)]
Assorted tweaks for animation editors:

* Changing to the ShapeKey editor now automatically enables the value sliders
* Filtering code for ShapeKey editor can now do AnimData block filtering too (internal details...)
* Silenced console warnings when inserting keyframes on F-Curves with no keyframes already (for Animation Editor sliders)
* Made the update code for keyframe transforms send more general depsgraph updates. Unfortuately, this still doesn't resolve the update problems with shapekeys

12 years agoFix for World tab:
Thomas Dinges [Fri, 16 Oct 2009 19:46:53 +0000 (19:46 +0000)]
Fix for World tab:
Unlinking an World Data block caused the whole tab to disappear.

12 years agoForgot to commit these files in 23837.
Thomas Dinges [Fri, 16 Oct 2009 19:25:51 +0000 (19:25 +0000)]
Forgot to commit these files in 23837.

12 years agobisplay shapekeys as sliders in the dope sheet editor
Campbell Barton [Fri, 16 Oct 2009 18:03:38 +0000 (18:03 +0000)]
bisplay shapekeys as sliders in the dope sheet editor

12 years agoshape key mirror failed with center verts
Campbell Barton [Fri, 16 Oct 2009 16:09:57 +0000 (16:09 +0000)]
shape key mirror failed with center verts

12 years agoBugfix: sculpting with a multires modifier at level 1 would crash.
Brecht Van Lommel [Fri, 16 Oct 2009 15:28:43 +0000 (15:28 +0000)]
Bugfix: sculpting with a multires modifier at level 1 would crash.

12 years agoshape key mirror tool, access from shapekey list buttons
Campbell Barton [Fri, 16 Oct 2009 13:04:59 +0000 (13:04 +0000)]
shape key mirror tool, access from shapekey list buttons

12 years agoShapeKey Editor (sub-mode of DopeSheet Editor)
Joshua Leung [Fri, 16 Oct 2009 12:08:47 +0000 (12:08 +0000)]
ShapeKey Editor (sub-mode of DopeSheet Editor)

Special priority request from Durian team to get this sub-editor of the DopeSheet Editor restored. Originally I was kindof planning to drop it, but obviously it still has a role!

It now supports all the modern features that the DopeSheet supports, complete with selection, muting, locking, DopeSheet summary, and all the other tools that you know and love from the other views.

Also, this no longer uses the old hacky sliders that 2.4x used (instead it uses RNA-based ones), so should function just the same as other DopeSheet views).

12 years agoAdded Notifier for Adding and Removing Keying sets.
Thomas Dinges [Fri, 16 Oct 2009 10:49:54 +0000 (10:49 +0000)]
Added Notifier for Adding and Removing Keying sets.

12 years agoToggle visibility of channels operator (VKEY) in Graph Editor channels view now works...
Joshua Leung [Fri, 16 Oct 2009 10:44:10 +0000 (10:44 +0000)]
Toggle visibility of channels operator (VKEY) in Graph Editor channels view now works for channels with the toggles other than F-Curves and Groups

12 years agoFix for last commit, used wrong operators.
Thomas Dinges [Fri, 16 Oct 2009 10:40:03 +0000 (10:40 +0000)]
Fix for last commit, used wrong operators.

12 years agoAdded a button to clear the weights of all shape keys, useful
Brecht Van Lommel [Fri, 16 Oct 2009 10:29:41 +0000 (10:29 +0000)]
Added a button to clear the weights of all shape keys, useful
when editing shapes and doing blending tests.

12 years ago2.5 Outliner:
Thomas Dinges [Fri, 16 Oct 2009 10:25:39 +0000 (10:25 +0000)]
2.5 Outliner:

Finally, the Outliner Header is drawn via Python too.
* Also added some Operators to the View Menu.

12 years agonew utility function for BLI_storage.h - BLI_is_dir
Campbell Barton [Fri, 16 Oct 2009 10:22:11 +0000 (10:22 +0000)]
new utility function for BLI_storage.h - BLI_is_dir
currently unsupported on windows.

should fix this too [#19656] N-Panel in filebrowser not working
though typing in invalid names then becomes possible

12 years agoAdd back Blend From Shape in mesh edit mode.
Brecht Van Lommel [Fri, 16 Oct 2009 10:05:58 +0000 (10:05 +0000)]
Add back Blend From Shape in mesh edit mode.

12 years agoBugfix: z-offset for materials was not added back yet.
Brecht Van Lommel [Fri, 16 Oct 2009 10:03:39 +0000 (10:03 +0000)]
Bugfix: z-offset for materials was not added back yet.

12 years agoA few Graph Editor tweaks:
Joshua Leung [Fri, 16 Oct 2009 10:01:15 +0000 (10:01 +0000)]
A few Graph Editor tweaks:
* Tiny tweak of GL commands used when drawing F-Curves (single GL_LINES instead of multiple GL_LINE_STRIPS) to hopefully improve the performance with heaps of handles drawn a bit

* Spelling fix for initTransDataCurveHandes -> initTransDataCurveHandles

12 years agonew operator - OBJECT_OT_make_single_user
Campbell Barton [Fri, 16 Oct 2009 10:00:45 +0000 (10:00 +0000)]
new operator - OBJECT_OT_make_single_user

Added keybindings and menu items
- Make Single User, Ukey
- Make Local, Lkey
- Make Duplis real, Ctrl+Shift+A

12 years agoGraph Editor - Transform Crash Fix
Joshua Leung [Fri, 16 Oct 2009 06:24:39 +0000 (06:24 +0000)]
Graph Editor - Transform Crash Fix

The code for transforming a mixture of keyframes with bezier and non-bezier interpolation was crashing.

The old code only took all the handles when a keyframe was bezier, and one when it was not; but sometimes this underestimated the situation (the first handle is only really used if the previous keyframe was bezier, as per the standard evaluation rules for these, but it didn't really check for this). Now, it just adds them whenever, since there is the possibility that keyframes may be moved before other unselected ones, in which case the handles may become invalid.

Thanks to Lee (from Durian, who found the crash), and Jess Balint (who had submitted a patch with some steps towards fixing this)

12 years agoZoom to mouse pointer with mouse wheel works again.
Martin Poirier [Fri, 16 Oct 2009 00:23:40 +0000 (00:23 +0000)]
Zoom to mouse pointer with mouse wheel works again.

The point where it zooms to can now be specified as operator properties and will be used if zoom to pointer is on. (when not specified, it will use the x and y of the event)

12 years agoX Mirror editmesh with PET
Martin Poirier [Thu, 15 Oct 2009 21:54:22 +0000 (21:54 +0000)]
X Mirror editmesh with PET

Lock vertice near the middle (|x| < 0.0001) on the mirror's plane.
Don't propagate transformation across mirror plane (this could probably be smarter)

12 years agoForce cursor grab OFF when running with -d.
Martin Poirier [Thu, 15 Oct 2009 20:38:35 +0000 (20:38 +0000)]
Force cursor grab OFF when running with -d.

It helps running a debugger when you can click on stuff when on a breakpoint...