Commit Graph

27121 Commits

Author SHA1 Message Date
Campbell Barton b45c3363fd fix for some pedantic warnings. 2010-12-03 01:52:28 +00:00
Campbell Barton 9e5577db47 fix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger than screen resolution 2010-12-02 22:58:23 +00:00
Campbell Barton cbab6a742f correction to error message from Dan Eicher 2010-12-02 21:55:55 +00:00
Campbell Barton 287325af35 fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.
2010-12-02 21:48:46 +00:00
Campbell Barton de0b41588a fix crash when report timer was set but no usable error reports were found. 2010-12-02 21:40:39 +00:00
Doug Hammond 3a88d96aa2 extensions_framework: fix bug that would create extra UI space when entire row is hidden. May not be the most efficient implementation, however it is working properly now. 2010-12-02 19:03:24 +00:00
Ton Roosendaal f94dd65999 Bugfix #25010
When loading files without UI (quit.blend) you got memory-free errors
for fileselect. Pointers were NULLed where not needed.
2010-12-02 18:27:04 +00:00
Guillermo S. Romero 1656366903 Update include paths for fonts in image stat display (rev33422). 2010-12-02 17:30:28 +00:00
Ton Roosendaal 30179f4dc6 IRC comment fix:
Option "free all texture-images" after render, was also
freeing unsaved painted images. Now it skips them.
2010-12-02 16:12:55 +00:00
Janne Karhu 5ca7c1b0f8 Fix for [#25006] Particle system crash (missing check for negative index) 2010-12-02 14:52:07 +00:00
Campbell Barton 38eb5fe75c bugfix [#24913] Text bevel normals wrong
error was introduced 33269, to fix [#24834].

this only reverts a small part of that commit, added note not to change this.
2010-12-02 05:39:43 +00:00
Janne Karhu 7b5696c866 Fix for [#25001] Enable Smoke High Resolution is greyout after baking
* Was a bit too eager to disable stuff
2010-12-02 04:47:40 +00:00
Campbell Barton f305ed0c50 use fixed width fonts for image stat display. 2010-12-02 04:23:56 +00:00
Janne Karhu 1dbc93b540 Additional fix for #24958 Cloth pinning not working
* Don't assume that the original dm given to cloth modifier is a cddm
2010-12-02 04:06:02 +00:00
Joshua Leung e75ef3551e Adding some descriptions for animation-related operators that were missing them. 2010-12-02 02:03:30 +00:00
Campbell Barton b31594c4ab patch [#23212] Python api for Nodes
from Dan Eicher (dna)

This allows automated node tree creation and editing.

developer note, made some changes to the patch.
- removed incorrect use of container_of(), GCC only also, search for the scene instead.
- commented socket min/max access, these are internal use only as far as I can tell.
- commented group/ungroup functions, these use the selection context and are not really data level functions.
- use remove() rather then delete()
2010-12-02 01:18:59 +00:00
Campbell Barton 024b0f92d5 fixed crash with rigid body constraints not having their child pointer read correctly. 2010-12-01 23:40:21 +00:00
Ton Roosendaal 3e214bd72c Bugfix #24999
Array Modifier: edge indices could be equal to numVerts, causing 
bad crashes in derivedmesh. Similar fix to previous here with
face indices. Should poke the coder of this... for now it survives OK.
2010-12-01 17:47:38 +00:00
Ton Roosendaal f4205498a9 Bugfix #24890
Particle cache reading: crash when loading .blend on a different
endian system, code was dumping arrays in .blend without DNA.

General warning for devs: avoid generic write_data and dynamic
arrays in DNA.
2010-12-01 15:58:45 +00:00
Ton Roosendaal 6090b1c5a7 Bugfix #24903
GRLESS key was missing in RNA key list, so it didn't show up in
keymap editor. Internally support for it worked already.

Thanks to Milos Zajic for showing the fix.
2010-12-01 13:18:24 +00:00
Janne Karhu b36ab83778 Fix for [#24958] Cloth pinning not working
* Cloth now uses the original derived mesh for simulation and a new dm only for applying the simulation result.
* Reverted Campbell's temporary workaround r33406.
2010-12-01 12:23:10 +00:00
Campbell Barton bfe2447f57 partial fix [#23265] matrix_world rna path is visible but returns 0 to drivers without error however accessed
this report raised a number of problems with rna paths, while we still dont have multi-dimensional array access, invalid paths were being accepted which confused things.

rna path resolving code was accepting all sorts of invalid input because atoi() just returns 0 for non numeric input.
now check if 0 number == '0' character.
2010-12-01 10:17:31 +00:00
Campbell Barton 2ada145fa4 fix for crashes trying to resolve paths "location[]" or "location.." 2010-12-01 09:12:54 +00:00
Campbell Barton fd7728883a increase the reference counts when setting default scene compo nodes else removing them can set the user count < 0. 2010-12-01 08:49:08 +00:00
Campbell Barton 3e173f4d21 disable redcode support for cmake & scons-freebsd 2010-12-01 07:25:59 +00:00
Campbell Barton 8a761a374a quit blender if the first X11 window fails to open.
mainly just to avoid a segfault so the user knows its not a bug.
2010-12-01 07:15:05 +00:00
Campbell Barton f5f332892c workaround [#24958] Cloth pinning not working
detailed explanation as to why this is needed in report.
2010-12-01 05:59:11 +00:00
Campbell Barton f801b2bcba bugfix [#23406] DPX Images load darker then saved, UI broken.
- a linear float buffer was being created and saved into a non-linear DPX/Cineon file.
- removed the UI since the settings are not used at the moment.

added a utility function IMB_float_profile_ensure(), which returns a float buffer in the requested profile, using the existing if needed or returning an allocated buffer if the profile is different to that of the ImBuf. - Useful this case where the save function has its own linear setting.
2010-12-01 02:54:10 +00:00
Campbell Barton ad0dd98f26 fix for some mistakes in recent commit. 2010-12-01 02:40:13 +00:00
Campbell Barton b5ba824cf2 patch from JacobF on IRC, copy smoke settings. double checked none of these are used for runtime. 2010-12-01 02:28:08 +00:00
Campbell Barton 0184c62b63 fix [#24990] When extruding bones the outliner does not immediately update
also changed notify functions for new bone, hide/reveal, switch direction and parent.
these used ND_POSE or ND_DRAW, replaced with ND_BONE_SELECT since this changes editmode bone hierarchy/selection.
2010-11-30 23:50:21 +00:00
Campbell Barton 89abb9f2d2 bugfix [#22638] Alpha channel not saved when using texture paint
check for alpha channel while saving images that have been painted onto.
It would be nicer to do this while in paint mode except this isn't so simple with project paint using multiple images at once.
2010-11-30 23:38:31 +00:00
Campbell Barton d9c23d8d5d minor console changes.
- remove report argument from console functions.
- don't update the scroll area while drawing, do this within operators instead.
- dont redraw while selecting text unless selection changes.
2010-11-30 22:39:41 +00:00
Campbell Barton df6169dada bugfix [#23423] Multi-window : closing game windows cause blender crash
detect closing window while the BGE runs and exit without crashing, as if Esc was pressed.
2010-11-30 21:51:03 +00:00
Janne Karhu 17cd5811e7 Smoke now uses only one point cache where both normal and high resolution smoke are stored together:
* Separate caches were causing quite a lot of problems both in principle and practice.
* For example it doesn't really make sense to have different frame ranges for normal and high resolution smoke, but this was fully possible before.
* Also to fully bake the smoke you had to do a "Bake All Dynamics", which completely defeats the whole point of the feature!
* As a result of this change the smoke cache usage is much much simpler and less error prone.
* This is quite a big change, but hopefully there should be less rather than more problems as a result :)

Some other related changes:
* Changing the cache name now works for disk caches properly too, it now just renames the cache files so should be faster too!
* Smoke is now always forced to disk cache with step 1 on file load as there were some strange cases where smoke was trying to use memory cache.
* Disabled smoke debug prints from console.
* Disabled changing smoke parameters when smoke is baked.

Note to users: The unfortunate side effect of this is that old high resolution simulations have to be baked again, but in return you get much better and more logical functionality. Sorry none the less!
2010-11-30 21:31:18 +00:00
Campbell Barton 005feca62d minor rna changes
- set matrix values not to be animatable
- some matrix values were still accessed as 1d arrays.
2010-11-30 20:22:26 +00:00
Campbell Barton 435f0ee153 missing NULL check in own recent commit, 2010-11-30 19:12:17 +00:00
Campbell Barton a1b8bc93e2 remove unmaintained windows and unix game engine plugin code. 2010-11-30 19:08:44 +00:00
Guillermo S. Romero 7ca3ff1ff1 SVN maintenance. 2010-11-30 19:06:34 +00:00
Campbell Barton 42d6603cae Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options. 2010-11-30 18:52:39 +00:00
Ton Roosendaal c22dcbdd64 Bugfix #24976
Compositor: MultiLayer image node: on using layer menu, the entire
multilayer file got freed, causing node to collapse and open full
again after a composite.
2010-11-30 18:46:34 +00:00
Campbell Barton 236a11ca63 misc small changes.
- commented unused View3D->flag's
- popup dialog now centers over the mouse
- only overwrite image alpha with render settings on save if saving the render result.
2010-11-30 18:07:44 +00:00
Ton Roosendaal 61c0de3f48 Bugfix #24986
When duplicating a mesh that has a mask modifier on it,
the invert option of that modifier dis not copy over.

Report + fix provided by Jacob F. Thanks!
2010-11-30 15:39:38 +00:00
Campbell Barton 79d9023f55 bugfix [#24974] "select all" in weight paint -> face selection mode selects all bones instead of all faces
face mask mode overrides pose mode keys. also removed function call from transform code.
2010-11-30 05:15:58 +00:00
Campbell Barton 050e863560 bugfix [#24798] Texture panels are shown in wrong order 2010-11-30 01:03:17 +00:00
Campbell Barton 51a66c27f3 replace overly verbose matrix creation for BGE camera, typo fix from MikeS. 2010-11-29 20:57:02 +00:00
Campbell Barton a5cac5434a bugfix [#24969] Python Console bug: inserting a large text leads to strange caret behavior
Caret wasn't wrapping.
2010-11-29 20:42:03 +00:00
Ton Roosendaal c8422f0de3 False should be with capital in Py
(IRC report by dsavi)
2010-11-29 18:58:49 +00:00
Ton Roosendaal b195cdd14c Makefile fix, the getversion.py was using minor release numbers,
which conflicts how paths work in BLI bundle detection.
2010-11-29 17:23:06 +00:00
Ton Roosendaal 01169dd632 Bugfix #24971
Outliner: if bottom slider was hidden, you still could not click there
on items. Code was using region-mask to clip input, but the mask is not
adjusted for sliders now (keeps view same).
2010-11-29 17:10:46 +00:00