blender-staging.git
9 years agoMerge with trunk/2.5 at r25563
Joseph Eagar [Tue, 5 Jan 2010 22:33:41 +0000 (22:33 +0000)]
Merge with trunk/2.5 at r25563

Most likely will not compile for others, I'd appreciate any build errors
and missing files reports (I can never seem to get everything committed
and all the build systems working without help).

Porting over the sculpt/multires tools was a breeze,
thanks goes to brecht for a design that didn't exclude
ngons and was easy to port.

Note that I've not tested externally-backed multires
file support yet.  Also, I still need to write version
patch code for some cases.

Some notes:

* Like trunk, topological changes don't update multires right,
  so e.g. subdivide will duplicate multires data on the new faces,
  instead of subdividing it.
* If you set the debug value (ctrl-alt-d) to 1 it'll turn on
  my experiments in speeding up sculpting on higher-res multires
  meshes (but note it makes partial redraw not completely accurate).
* There's a bug where you have to go through editmode to get out
  of sculpt mode, not sure if I inherited or created this myself.

9 years agopre-merge commit; decided might as well get it over with.
Joseph Eagar [Sat, 26 Dec 2009 08:47:38 +0000 (08:47 +0000)]
pre-merge commit; decided might as well get it over with.

9 years agothe user interface could access invalid RNA on deleting objects since checking the...
Campbell Barton [Sat, 26 Dec 2009 01:04:46 +0000 (01:04 +0000)]
the user interface could access invalid RNA on deleting objects since checking the button ran after freeing the data.

9 years agoFix for [#20294] Switching to particle mode after changing number of hair particles...
Janne Karhu [Sat, 26 Dec 2009 00:17:54 +0000 (00:17 +0000)]
Fix for [#20294] Switching to particle mode after changing number of hair particles causes blender to crash.
* Particle edit mode wasn't freed when the particle amount was changed.

9 years ago- closing the user prefs accessed the temp screen after removing it.
Campbell Barton [Sat, 26 Dec 2009 00:17:45 +0000 (00:17 +0000)]
- closing the user prefs accessed the temp screen after removing it.
- colorband drawing could use un-initialized vars (probably wouldnt crash)

9 years agoinvalid memory access fix
Campbell Barton [Fri, 25 Dec 2009 23:59:12 +0000 (23:59 +0000)]
invalid memory access fix

9 years agoFix for [#20458] Segmentation fault when trying to enable Hair dynamics
Janne Karhu [Fri, 25 Dec 2009 23:51:29 +0000 (23:51 +0000)]
Fix for [#20458] Segmentation fault when trying to enable Hair dynamics
* The hair mesh vertex index was stored as a short, but vertex counts can easily go higher than what fits in a short so changed this to an int.
* Also removed particle life looping, which didn't work correctly anyways. Similar functionality will become available when I get to recoding reactor particles into a better system.

9 years agofix for accessing invalid memory when loading a new file.
Campbell Barton [Fri, 25 Dec 2009 23:50:35 +0000 (23:50 +0000)]
fix for accessing invalid memory when loading a new file.

9 years agoParticles bug fix: using virtual parents for child particles crashed in some cases.
Janne Karhu [Fri, 25 Dec 2009 22:58:11 +0000 (22:58 +0000)]
Particles bug fix: using virtual parents for child particles crashed in some cases.

9 years agoreplace dynamic_menu.py with Menu classmethods much less complicated.
Campbell Barton [Fri, 25 Dec 2009 22:16:19 +0000 (22:16 +0000)]
replace dynamic_menu.py with Menu classmethods much less complicated.
access append/prepend eg.

bpy.types.INFO_MT_file_import.append(lambda self, context: self.layout.operator("import_some.format"))

9 years agobugfix [#20237] Import error
Campbell Barton [Fri, 25 Dec 2009 20:52:05 +0000 (20:52 +0000)]
bugfix [#20237] Import error
(export X90 rotation wasnt right)

9 years agobugfix [#20253] Import/Export fails
Campbell Barton [Fri, 25 Dec 2009 20:47:23 +0000 (20:47 +0000)]
bugfix [#20253] Import/Export fails

9 years agofix for [#20244] importing .obj without "Object" option checked crashes blender
Campbell Barton [Fri, 25 Dec 2009 20:40:00 +0000 (20:40 +0000)]
fix for [#20244] importing .obj without "Object" option checked crashes blender

9 years agobad rna limit referred to in [#20483] Inputs are capped
Campbell Barton [Fri, 25 Dec 2009 18:06:05 +0000 (18:06 +0000)]
bad rna limit referred to in [#20483] Inputs are capped
enable distance for some settings

9 years agosphinx rna api documentation generator to replace epydocs
Campbell Barton [Fri, 25 Dec 2009 15:50:53 +0000 (15:50 +0000)]
sphinx rna api documentation generator to replace epydocs
- view docs menu item opens sphinx URL
- can be searched (even when local)
- uses rna_info module for introspection
- also documents python defined functions and decorator properties (defined in bpy_types.py)
- experemental python file:line references for python operators.

9 years agoupdate rna_info and rna_rna for better introspection
Campbell Barton [Fri, 25 Dec 2009 14:42:00 +0000 (14:42 +0000)]
update rna_info and rna_rna for better introspection

9 years agofix for segfault getting RNA Enum default values, minor updates to introspection...
Campbell Barton [Fri, 25 Dec 2009 09:01:23 +0000 (09:01 +0000)]
fix for segfault getting RNA Enum default values, minor updates to introspection class

9 years agooperator draw function working again. needed to add layout to the operator to give...
Campbell Barton [Thu, 24 Dec 2009 21:17:14 +0000 (21:17 +0000)]
operator draw function working again. needed to add layout to the operator to give access to "self.layout" - like panels, headers and manu's have

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 24 Dec 2009 21:15:27 +0000 (21:15 +0000)]
SVN maintenance.

9 years ago* register operators like other classes
Campbell Barton [Thu, 24 Dec 2009 19:50:43 +0000 (19:50 +0000)]
* register operators like other classes
* operators now return sets (converted into flags)
* can't remove bpy_operator_wrap.c since macro's still use the custom register funcs

9 years agosupport for registering operators using the same internal rna api as panels, menus...
Campbell Barton [Thu, 24 Dec 2009 16:10:26 +0000 (16:10 +0000)]
support for registering operators using the same internal rna api as panels, menus, headers & render engines since there was a fair bit of duplicate functionality.

will remove the old system and update scripts next.

9 years agoAdded rectifying sound effect (will be used for sound -> f-curve later).
Joerg Mueller [Thu, 24 Dec 2009 14:58:11 +0000 (14:58 +0000)]
Added rectifying sound effect (will be used for sound -> f-curve later).

9 years agoReverted the addition of the f-curve sound modifier (was added in revision 24759...
Joerg Mueller [Thu, 24 Dec 2009 14:01:22 +0000 (14:01 +0000)]
Reverted the addition of the f-curve sound modifier (was added in revision 24759) due to unusability and performance issues. The ability to use a sound as animation source will be added as an import operator later that renders a sound to an f-curve which brings the advantage that you can edit the generated curve later and the disadvantage it is not automatically updated when the sound changes.

9 years agominor pyapi changes
Campbell Barton [Thu, 24 Dec 2009 11:40:14 +0000 (11:40 +0000)]
minor pyapi changes

9 years agoRemoved a few operators that were just used to generate popup menus and replaced...
Matt Ebb [Thu, 24 Dec 2009 10:39:30 +0000 (10:39 +0000)]
Removed a few operators that were just used to generate popup menus and replaced with python defined menus.

9 years agopedantic naming: wmKeyMapItem wasnt called 'kmi' in some cases.
Campbell Barton [Thu, 24 Dec 2009 09:36:15 +0000 (09:36 +0000)]
pedantic naming: wmKeyMapItem wasnt called 'kmi' in some cases.

9 years agoKey map related things:
Matt Ebb [Thu, 24 Dec 2009 09:26:06 +0000 (09:26 +0000)]
Key map related things:
* Moved 'change shortcut' (previously directly RMB on menu items) to a context-menu item, and added Remove Shortcut and Add Shortcut. This is all available now in a RMB context menu for operator buttons and menu entries.
* Renamed a bunch of key maps to be consistent with UI names, and human-readable. Since these key map names are now being directly used in the UI for people to find things, they should be understandable and in plain language.

This renaming may break some older saved key map setups - though previously saved .b25.blends should convert over ok. Exported .py files may need some find/replacing - in this commit check the changes in resources.c to see what's changed.

9 years agoOSX / Scons : set MACOSX_DEPLOYMENT_TARGET env var to allow builds for older systems
Damien Plisson [Wed, 23 Dec 2009 15:56:00 +0000 (15:56 +0000)]
OSX / Scons : set MACOSX_DEPLOYMENT_TARGET env var to allow builds for older systems

9 years agocrash fix for sculpt when loading some files
Campbell Barton [Wed, 23 Dec 2009 15:51:39 +0000 (15:51 +0000)]
crash fix for sculpt when loading some files

9 years agofix for a crash when running blender in debug mode (-d arg), was registering every...
Campbell Barton [Wed, 23 Dec 2009 15:06:47 +0000 (15:06 +0000)]
fix for a crash when running blender in debug mode (-d arg), was registering every operator in debug mode.
added some more sculpt key shortcuts
* R toggles rake
* Shift+A toggles airbrush

note: last commit added Ctrl+0 to set zero subsurf and multires

9 years agokey shortcits for sculpt back
Campbell Barton [Wed, 23 Dec 2009 12:13:48 +0000 (12:13 +0000)]
key shortcits for sculpt back
- T was 'Flatten Brush', now Shift+T
- added an option to OBJECT_OT_subdivision_set to set the level relatively (so page up/down works), however RNA lets it set one level higher then the maximum, this seems displays OK in the 3D view so not sure whats going on here (as if there is always an extra hidden multires level).

9 years agoFix compilation of carbon quicktime & complete use of report mechanism instead of...
Damien Plisson [Wed, 23 Dec 2009 11:49:07 +0000 (11:49 +0000)]
Fix compilation of carbon quicktime & complete use of report mechanism instead of standard printf

9 years agoBugfix #20463: In graph editor bone channels cannot be selected with 'A' or 'B' borde...
Joshua Leung [Wed, 23 Dec 2009 11:22:30 +0000 (11:22 +0000)]
Bugfix #20463: In graph editor bone channels cannot be selected with 'A' or 'B' border select

This bug was caused by my recent commit to get bone select -> selection syncing working. The selection flushing was occurring too readily, blocking any selection tools from having any visible effect. Now this syncing is only triggered when appropriate notifiers+flags have been set.

9 years agoBGE: fix more transpose bug when MathUtils is not used.
Benoit Bolsee [Wed, 23 Dec 2009 09:55:34 +0000 (09:55 +0000)]
BGE: fix more transpose bug when MathUtils is not used.

9 years agoBGE: fix more matrix transpose bugs in assignement to game object matrices.
Benoit Bolsee [Tue, 22 Dec 2009 23:38:09 +0000 (23:38 +0000)]
BGE: fix more matrix transpose bugs in assignement to game object matrices.

Assignment to KX_GameObject localOrientation and
worldOrientation matrices was assuming row-major matrix
although reading these matrices was returning a column-major
MathUtils object.

The faulty function (PyMatTo) is fixed and all matrices
in python are now assumed column-major.

This function is also used in the following methods:

BL_Shader.setUniformMatrix4()
BL_Shader.setUniformMatrix3()

(No change in scripts if you didn't specify the optional
transpose parameter: the default value is changed so
that column-major matrices are assumed as before.)

KX_Camera.projection_matrix

(assignement to this attribute now requires a column-major
matrix and you must fix your script if you were setting
a value to this attribute.)

9 years agoThis fixes the following coverity issues: 163 162 161
Kent Mein [Tue, 22 Dec 2009 22:03:57 +0000 (22:03 +0000)]
This fixes the following coverity issues: 163 162 161

Basically the function wasn't freeing memory it used before
returning.

Kent

9 years agoMissing angle_v3v3 definition (it was declared)
Martin Poirier [Tue, 22 Dec 2009 19:56:12 +0000 (19:56 +0000)]
Missing angle_v3v3 definition (it was declared)
Wrong definition for angle_v2v2 (it read 2d vectors as 3d vectors)

9 years agoBGE: update for new soft body helpers API.
Benoit Bolsee [Tue, 22 Dec 2009 19:53:44 +0000 (19:53 +0000)]
BGE: update for new soft body helpers API.

9 years agoBullet: synchronize soft body helpers with current SVN.
Benoit Bolsee [Tue, 22 Dec 2009 19:52:14 +0000 (19:52 +0000)]
Bullet: synchronize soft body helpers with current SVN.

9 years agoMSVC project files
Benoit Bolsee [Tue, 22 Dec 2009 19:50:20 +0000 (19:50 +0000)]
MSVC project files

9 years agoselect nth (face/edge/vertex) - depending on which was last selected, useful for...
Campbell Barton [Tue, 22 Dec 2009 19:01:51 +0000 (19:01 +0000)]
select nth (face/edge/vertex) - depending on which was last selected, useful for colapsing every other edge for eg.

9 years agoBGE: fix bug with rigid body joint constraint target name: skip OB letter.
Benoit Bolsee [Tue, 22 Dec 2009 18:39:42 +0000 (18:39 +0000)]
BGE: fix bug with rigid body joint constraint target name: skip OB letter.

9 years agoselect linked and select linked pick working again (wth shift for extend)
Campbell Barton [Tue, 22 Dec 2009 17:18:33 +0000 (17:18 +0000)]
select linked and select linked pick working again (wth shift for extend)

9 years ago- make ToolSettings.mesh_selection_mode into an array of 3 bools rather then an enum...
Campbell Barton [Tue, 22 Dec 2009 16:11:11 +0000 (16:11 +0000)]
- make ToolSettings.mesh_selection_mode into an array of 3 bools rather then an enum since multiple can be set at once.
- ToolSettings had its id.data set to NULL when taken directly from the context (causing a crash in cases)
- menu for changing vert/edge/face selection now a python menu, removed operator.
- wm.context_set_value(), would really prefer not to have this since it evaluates the value as a python expression however there are no ways to define arrays in PyOperators

9 years agoAttempt to fix compilation of quicktime after reporting changes
Brecht Van Lommel [Tue, 22 Dec 2009 15:20:31 +0000 (15:20 +0000)]
Attempt to fix compilation of quicktime after reporting changes
(can't build this file myself, only qtkit seems to work here).

9 years agoReports: writing movies now uses the reports mechanism to throw errors.
Brecht Van Lommel [Tue, 22 Dec 2009 12:01:32 +0000 (12:01 +0000)]
Reports: writing movies now uses the reports mechanism to throw errors.

Also fixes bug #19463: screencast to xvid ffmpeg crash.

9 years agoFix #20433: make single user doesn't work from menu. Popup menus for
Brecht Van Lommel [Tue, 22 Dec 2009 11:59:30 +0000 (11:59 +0000)]
Fix #20433: make single user doesn't work from menu. Popup menus for
operators were not passing along properties.

9 years agoclone and stencil layer access added, renamed mask to stencil layer internally
Campbell Barton [Tue, 22 Dec 2009 10:48:13 +0000 (10:48 +0000)]
clone and stencil layer access added, renamed mask to stencil layer internally

9 years agoAssorted F-Curve/Keyframe API stuff (for use with some Sequencer editing):
Joshua Leung [Tue, 22 Dec 2009 10:14:13 +0000 (10:14 +0000)]
Assorted F-Curve/Keyframe API stuff (for use with some Sequencer editing):
* Added function for F-Curves to find the F-Curves in a given list which affect some named data, such as bones, nodes, or sequence strips.

* Added a BezTriple offsetting callback to be used with the F-Curve+Keyframe loopers in use for many of the keyframe editing tools.

9 years agoquite a few python panels (10 or so) had names longer then the PanelType allowed,
Campbell Barton [Tue, 22 Dec 2009 10:04:15 +0000 (10:04 +0000)]
quite a few python panels (10 or so) had names longer then the PanelType allowed,
for panels it would fail silently but for menu's it meant further references would give errors.

increase the registered class name from 32 to 64 and raise an error if the limit reached.

9 years agoBGE bug #20446: revert to orignal code, the problems comes from misunderstanding...
Benoit Bolsee [Tue, 22 Dec 2009 09:46:03 +0000 (09:46 +0000)]
BGE bug #20446: revert to orignal code, the problems comes from misunderstanding of matrix theory. More details in bug report.

9 years agozoom to mouse for 2D view
Campbell Barton [Tue, 22 Dec 2009 08:39:59 +0000 (08:39 +0000)]
zoom to mouse for 2D view
note: this works in all views except for nodes which seem to use the view bounds differently

9 years agoincreasing camera lens limit to 172.85 (same as 2.49xx)
Dalai Felinto [Tue, 22 Dec 2009 08:05:19 +0000 (08:05 +0000)]
increasing camera lens limit to 172.85 (same as 2.49xx)
It's not range_ui, but range itself. if someone think that for some reason it's better to keep the visible range up to 100 (the current one) it could be as well.

9 years ago[#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure...
Dalai Felinto [Tue, 22 Dec 2009 07:27:53 +0000 (07:27 +0000)]
[#20446] mathutils: bugfix for matrix * matrix - patch by Paul Parchenko (parfoure) thanks

From the tracker:
- typo was making the multiplication to transpose resulting matrix
eg
####
from Mathutils import *
from math import radians

cont = GameLogic.getCurrentController()
owner = cont.owner

owner.worldOrientation = RotationMatrix(radians(1), 3, 'z') * owner.worldOrientation
####

9 years agopy error fix and minor changes to rna info class
Campbell Barton [Mon, 21 Dec 2009 23:14:16 +0000 (23:14 +0000)]
py error fix and minor changes to rna info class

9 years agonetrender: display dispatching rules under master header. (read only for now)
Martin Poirier [Mon, 21 Dec 2009 19:56:53 +0000 (19:56 +0000)]
netrender: display dispatching rules under master header. (read only for now)

9 years agoMissing file in previous commit.
Martin Poirier [Mon, 21 Dec 2009 18:56:00 +0000 (18:56 +0000)]
Missing file in previous commit.

9 years agonetrender: visibility toggle for full list of fluid and cache files in the job web...
Martin Poirier [Mon, 21 Dec 2009 18:14:39 +0000 (18:14 +0000)]
netrender: visibility toggle for full list of fluid and cache files in the job web page

9 years agoSequence Slide transformation (easier to do special sequence code there than in a...
Martin Poirier [Mon, 21 Dec 2009 17:23:44 +0000 (17:23 +0000)]
Sequence Slide transformation (easier to do special sequence code there than in a generic transform)

Also make the transform operator creation a bit more automagic (I always forget either operator registration or modal keymap registration, this is all automatic now).

9 years agoremoving sequence strip overlap didnt adjust the animation key time
Campbell Barton [Mon, 21 Dec 2009 16:57:39 +0000 (16:57 +0000)]
removing sequence strip overlap didnt adjust the animation key time
single images were not having their animation data transformed correctly
made sequence strip opacity 0-1 rather then 0-100 in RNA

9 years agoremoving unwanted svn:executable properties
Martin Poirier [Mon, 21 Dec 2009 16:19:08 +0000 (16:19 +0000)]
removing unwanted svn:executable properties

9 years agoMultires: added back Reshape function, to copy vertex locations
Brecht Van Lommel [Mon, 21 Dec 2009 15:55:10 +0000 (15:55 +0000)]
Multires: added back Reshape function, to copy vertex locations
from another mesh.

9 years ago[#20441] 3D manipulator widget problem
Martin Poirier [Mon, 21 Dec 2009 15:37:19 +0000 (15:37 +0000)]
[#20441] 3D manipulator widget problem

calculateTransformCenter function passing event to transform init when it shouldn't have.

9 years ago- camera switching didnt work for openGL render
Campbell Barton [Mon, 21 Dec 2009 11:42:31 +0000 (11:42 +0000)]
- camera switching didnt work for openGL render
- UV Project (Bounds) wasnt in the menu

9 years ago* Rest length parameter for harmonic force springs. Implementation is a slightly...
Janne Karhu [Mon, 21 Dec 2009 11:19:07 +0000 (11:19 +0000)]
* Rest length parameter for harmonic force springs. Implementation is a slightly modified version of the patch provided by Raúl Fernández Hernández (Farsthary).
* Also added a "multiple springs" option to use every effector point as a harmonic spring instead of just one.

9 years agoFix #20432: object.layers did not do correct update, could miss depsgraph rebuild.
Brecht Van Lommel [Mon, 21 Dec 2009 10:50:32 +0000 (10:50 +0000)]
Fix #20432: object.layers did not do correct update, could miss depsgraph rebuild.

9 years agoFix #20442: opening .blend file with hanging temp screens could crash,
Brecht Van Lommel [Mon, 21 Dec 2009 10:46:14 +0000 (10:46 +0000)]
Fix #20442: opening .blend file with hanging temp screens could crash,
version patch removed these screens, but not the corresponding windows.

9 years agoMakefiles: fix CFLAGS for OS X
Stefan Gartner [Mon, 21 Dec 2009 10:40:55 +0000 (10:40 +0000)]
Makefiles: fix CFLAGS for OS X

9 years agoOS X: added support for building with Cocoa to Makefiles
Stefan Gartner [Mon, 21 Dec 2009 10:38:04 +0000 (10:38 +0000)]
OS X: added support for building with Cocoa to Makefiles

to build with Cocoa support, set WITH_COCOA to true in user-def.mk

9 years agoSolidify rim faces now get face data from the faces they extrude from, (UV and VCol...
Campbell Barton [Mon, 21 Dec 2009 10:16:04 +0000 (10:16 +0000)]
Solidify rim faces now get face data from the faces they extrude from, (UV and VCol support)

9 years agoAnimation Editors - Durian Request - Selection Syncing:
Joshua Leung [Mon, 21 Dec 2009 09:52:43 +0000 (09:52 +0000)]
Animation Editors - Durian Request - Selection Syncing:

This commit brings back the functionality whereby the selection of F-Curves and/or relevant Group(s) is synced with the selection status of the corresponding bones when the bones are selected/deselected.

9 years agosolidify modifier - rim faces now copy values from the faces they extrude from (mater...
Campbell Barton [Mon, 21 Dec 2009 08:37:30 +0000 (08:37 +0000)]
solidify modifier - rim faces now copy values from the faces they extrude from (material, face flags but not uvs or vcols yet)
this doesnt work in editmode yet.

9 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 02:46:19 +0000 (02:46 +0000)]
netrender

- Add "Get Result" button after a job has been sent (this calls Animate and fetches the results back as render result buffers)
- Rendering (animate or single frame) without an active job was broken. Note that this launches a new job for each frame (it's impossible in a render engine to know if an animation is being rendered or a single frame only).

9 years agoQuicky Loopcut patch:
Joshua Leung [Mon, 21 Dec 2009 02:39:39 +0000 (02:39 +0000)]
Quicky Loopcut patch:

In addition to the existing scrollwheel up/down, PageUp/Down can now be used to set the number of cuts while previewing the cut location.

9 years agoMissing id assignment for kmi creation function (2 out of 3 isn't good enough).
Martin Poirier [Mon, 21 Dec 2009 01:44:33 +0000 (01:44 +0000)]
Missing id assignment for kmi creation function (2 out of 3 isn't good enough).

9 years agonetrender
Martin Poirier [Mon, 21 Dec 2009 01:09:09 +0000 (01:09 +0000)]
netrender

- Patch by Olivier Amrein (prettying the web interface with css, fixing some notification bugs)
- More error checks on the slave (better behavior when job is canceled)
- Client: when using "Animate on Network" and canceling render midway, also cancel job. Use Send Job and Animate if you want a real background job.

9 years agoSolidify modifier for Durian (allow cloth sim on single layer and make solid after)
Campbell Barton [Mon, 21 Dec 2009 01:02:08 +0000 (01:02 +0000)]
Solidify modifier for Durian (allow cloth sim on single layer and make solid after)
Mostly the same as the recently added editmode tool with some extras.

* Options to disable filling in the rim between inner and outer surface, since its faster not to detect this in cases where its not needed.
* Option to disable high quality normal calculation, mostly noticable when operating on building walls, not needed for cloth or more organic shapes.
* Option to disable 'even thickness', again, not needed in some cases.

Also options for creasing inner/outer and rim edges, need this for makign Sintels cloths solid since zero crease looks far too soft.

note:
* UVs and VCols etc are copied to the new skin however rim faces dont get the UVs or vcols set from the faces they are created from yet.
* Normals are assumed to be pointing outwards
* used patch from Uncle Entity as a template since it added the DNA and RNA entries but the actual modifier from the patch wasnt used.

9 years agoSimple fix - don't show meta-rig panel for non-armature data
Matt Ebb [Sun, 20 Dec 2009 23:34:05 +0000 (23:34 +0000)]
Simple fix - don't show meta-rig panel for non-armature data

9 years agonetrender: buttons to change chunks, priority and reset job.
Martin Poirier [Sun, 20 Dec 2009 21:46:39 +0000 (21:46 +0000)]
netrender: buttons to change chunks, priority and reset job.

9 years agoBGE fix: 3DDview not redrawing when exiting BGE
Dalai Felinto [Sun, 20 Dec 2009 18:47:30 +0000 (18:47 +0000)]
BGE fix: 3DDview not redrawing when exiting BGE

CTX_wm_window_set() was resetting the CTX_wm_area(C), for the redrawing wasn't working.
Changing their orders fixes it.

9 years agoFix do_version for new preview region (for real this time).
Martin Poirier [Sun, 20 Dec 2009 15:23:29 +0000 (15:23 +0000)]
Fix do_version for new preview region (for real this time).

First spacedata has empty region base and uses the one in ScrArea. Need to account for that.

9 years agoFixes for memory leaks when exiting Blender while still in WeightPaint Mode.
Joshua Leung [Sun, 20 Dec 2009 11:04:11 +0000 (11:04 +0000)]
Fixes for memory leaks when exiting Blender while still in WeightPaint Mode.

9 years agoBugfix #20173: Crash with Weight Paint on polygons with no faces
Joshua Leung [Sun, 20 Dec 2009 10:50:40 +0000 (10:50 +0000)]
Bugfix #20173: Crash with Weight Paint on polygons with no faces

9 years agoAnimation Editor Code Cleanups:
Joshua Leung [Sun, 20 Dec 2009 05:09:55 +0000 (05:09 +0000)]
Animation Editor Code Cleanups:

Removing some unused functions that have become redundant in recent times.

9 years agoFix preview do_version bug (causing region type missing errors)
Martin Poirier [Sat, 19 Dec 2009 22:40:45 +0000 (22:40 +0000)]
Fix preview do_version bug (causing region type missing errors)

The missing region was added to the wrong region base.

Bump the subversion, new code to fix wrong region layouts saved in previous subversion and correct all old files correctly.

9 years agoAdd missing names to SpaceTypes
Martin Poirier [Sat, 19 Dec 2009 22:37:51 +0000 (22:37 +0000)]
Add missing names to SpaceTypes

9 years agonetrender: list files in job webpage
Martin Poirier [Sat, 19 Dec 2009 22:36:20 +0000 (22:36 +0000)]
netrender: list files in job webpage

9 years agoint Type for region rna (read-only helps for debug)
Martin Poirier [Sat, 19 Dec 2009 21:33:25 +0000 (21:33 +0000)]
int Type for region rna (read-only helps for debug)

9 years agoFixing error introduced in commit 25428.
Thomas Dinges [Sat, 19 Dec 2009 16:55:04 +0000 (16:55 +0000)]
Fixing error introduced in commit 25428.
* Preview Render didn't update in the world tab, when changing settings.

9 years agoBugfix: doubles are not supported correctly in SDNA, double click
Brecht Van Lommel [Sat, 19 Dec 2009 14:58:24 +0000 (14:58 +0000)]
Bugfix: doubles are not supported correctly in SDNA, double click
introduced one in wmWindow.last_click_time. Moved this to the wmEvent
struct, which now no is in DNA, was needed for RNA wrapping but not
needed anymore.

9 years agoutility module for introspecting RNA for doc generation.
Campbell Barton [Sat, 19 Dec 2009 13:48:50 +0000 (13:48 +0000)]
utility module for introspecting RNA for doc generation.

9 years agofix for non Euler-XYZ rotations...
Campbell Barton [Sat, 19 Dec 2009 10:27:23 +0000 (10:27 +0000)]
fix for non Euler-XYZ rotations...
- Camera to 3D view didnt check for rotation order.
- Fly mode didnt check for rotation order.

added util functions.
- object_apply_mat4(ob, mat4); applies a 4x4 matrix to an objects loc,scale,rot (accounting for rotation modes)
- object_mat3_to_rot(ob, mat3, use_compat); apply a 3x3 matrix to the objects rotation, option to use a euler compatible with the existing euler.

9 years agomake subsurf keys - Ctrl+1,2,3,4, apply to all selected objects. not just the active...
Campbell Barton [Fri, 18 Dec 2009 23:17:23 +0000 (23:17 +0000)]
make subsurf keys - Ctrl+1,2,3,4, apply to all selected objects. not just the active ones

9 years agoBugfix: sculpt mode could crash using a mesh without faces.
Brecht Van Lommel [Fri, 18 Dec 2009 17:15:58 +0000 (17:15 +0000)]
Bugfix: sculpt mode could crash using a mesh without faces.

9 years agoOSX : add mounted network volumes to the system folder list in open/save file dialog
Damien Plisson [Fri, 18 Dec 2009 16:35:41 +0000 (16:35 +0000)]
OSX : add mounted network volumes to the system folder list in open/save file dialog

9 years agoFix #20401: hair combing with limit selection to visible does not comb
Brecht Van Lommel [Fri, 18 Dec 2009 13:35:30 +0000 (13:35 +0000)]
Fix #20401: hair combing with limit selection to visible does not comb
all particles.

9 years ago- sequence strips without scenes would crash on display
Campbell Barton [Fri, 18 Dec 2009 13:28:03 +0000 (13:28 +0000)]
- sequence strips without scenes would crash on display
- appending scenes would not append the sound and scene ID's for sequence strips
- reload button in sequence header now reloads sounds as well.
- redrawing the sequence image view didnt work while plaing (unless play was activated from that region)
- generic functions for running a callback on sequence strips recursively. seqbase_recursive_apply() and seq_recursive_apply()
- bind marker with camera was set to home key, use Ctrl+B instead.

9 years agoCocoa : add confirmation request before opening a .blend file (dropped on Blender...
Damien Plisson [Fri, 18 Dec 2009 13:13:14 +0000 (13:13 +0000)]
Cocoa : add confirmation request before opening a .blend file (dropped on Blender icon or dbl-clicked in Finder)

9 years agoFix #20423: particle system deflection settings were not read correctly,
Brecht Van Lommel [Fri, 18 Dec 2009 13:08:11 +0000 (13:08 +0000)]
Fix #20423: particle system deflection settings were not read correctly,
causing crashes on free and duplication.

9 years agoKeyframing Bugfix:
Joshua Leung [Fri, 18 Dec 2009 11:55:18 +0000 (11:55 +0000)]
Keyframing Bugfix:

This commit attempts to fix some of the bugs which were causing grief with some Durian animation tests.

In one of those files, the order in which F-Curves were stored was seriously messed up; causing problems with some F-Curves still existing but unable to be edited (i.e. still showing up in the Object/Action summaries but nowhere else) since the standard assumptions for the way the data was stored had been violated.

I've recoded the code that ensures that when F-Curves get added to Action Groups (and the Action that contains these) it ends up in the right places, since it was very likely that all the F-Curves would only ever get added near the end of the list.

Hopefully this is enough to prevent these problems reoccurring, though I have a feeling there may still be one or two buggy tools which caused the problems in the first place.