10 years agocorrection to r33469, operators return sets so string comparison isn't valid.
Campbell Barton [Sun, 5 Dec 2010 00:08:25 +0000 (00:08 +0000)]
correction to r33469, operators return sets so string comparison isn't valid.

10 years agoFixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
Sergey Sharybin [Sat, 4 Dec 2010 18:34:31 +0000 (18:34 +0000)]
Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren't
freed even if it's not copied to the filelist

10 years agoIRC report:
Ton Roosendaal [Sat, 4 Dec 2010 16:02:04 +0000 (16:02 +0000)]
IRC report:

Adding mesh primitive circle/cone/tube now has first vertex
on top. Looks much nicer on low vertex totals.
Fix provided by Mario G Kishalmi, thanks!

10 years agoBug fix #21900
Ton Roosendaal [Sat, 4 Dec 2010 15:45:16 +0000 (15:45 +0000)]
Bug fix #21900

Issue with Library linking: if you already have libraries linked in,
and you attempt to link more data, using internally already linked
stuff (like a group with group links) the linkage would fail. It did
resolve on save-load though.

There's a long commented history in this code explaining it. I found
out it was because of manual step-by-step linking versus normal file
reads. In the first case, the "lib pointer map" was missing references.

10 years agoCocoa : fix drag and drop was no more operational after having fullscreened the window
Damien Plisson [Sat, 4 Dec 2010 14:26:45 +0000 (14:26 +0000)]
Cocoa : fix drag and drop was no more operational after having fullscreened the window

10 years agoBugfix #21893
Ton Roosendaal [Sat, 4 Dec 2010 13:46:25 +0000 (13:46 +0000)]
Bugfix #21893

Python Operator "Delete Edge Loop" (which keeps mesh connected)
changed selection if sliding operator failed. Simply added a
check for return value. Gosh, that Python code is not bad ;)

10 years agoMaintenance,
Campbell Barton [Sat, 4 Dec 2010 13:00:28 +0000 (13:00 +0000)]
- remove some redundant declarations
- changed VertexTangent and Path structs to avoid compiler alignment padding.

10 years agoBugfix #24699
Ton Roosendaal [Sat, 4 Dec 2010 12:33:45 +0000 (12:33 +0000)]
Bugfix #24699

Crash when deleting Shapekeys, while Graph or Dopesheet was visible.
Caused by RNA collection lookup, which is not checking against index
out of range errors.

Brecht might have to give blessings for this though :)

10 years agoGive functions that use printf style formatting GCC format attributes so if incorrect...
Campbell Barton [Sat, 4 Dec 2010 11:44:56 +0000 (11:44 +0000)]
Give functions that use printf style formatting GCC format attributes so if incorrect formatting is used the compiler will warn of this.
found & fixed 2x incorrect formatting args.

10 years agoBugfix #25033
Ton Roosendaal [Sat, 4 Dec 2010 11:34:26 +0000 (11:34 +0000)]
Bugfix #25033

Texture face options like "two side" were invisible, unless the
top bar "render engine" was set to Game Engine.
This is confusing, since 3d window does draw these options well.

Added back panel to show default, but with a label warning that
the options are not supported for render.

10 years agodisallow setting RNA attributes while drawing, this is bad practice so enforcing...
Campbell Barton [Sat, 4 Dec 2010 06:25:36 +0000 (06:25 +0000)]
disallow setting RNA attributes while drawing, this is bad practice so enforcing here has the benifit of making sure people are not manipulating blender scene data in a drawing panel for eg.

This is ifdef'd and may be disabled later on, or only enabled in debug mode.

This applies to setting any RNA value that has an ID and is not a screen or window-manager datablock.

Some addons break this rule and need fixing but from my tests blender UI scripts are ok.

10 years agominor changes to bone UI script.
Campbell Barton [Sat, 4 Dec 2010 06:21:08 +0000 (06:21 +0000)]
minor changes to bone UI script.

10 years agofix for strict prototype error.
Campbell Barton [Sat, 4 Dec 2010 05:34:16 +0000 (05:34 +0000)]
fix for strict prototype error.

10 years agoown mistake made r33442, was returning the pose channel, rather then its bone.
Campbell Barton [Sat, 4 Dec 2010 01:11:50 +0000 (01:11 +0000)]
own mistake made r33442, was returning the pose channel, rather then its bone.

10 years agoremove shadowed definitions but keep them as zero this time.
Campbell Barton [Fri, 3 Dec 2010 23:55:10 +0000 (23:55 +0000)]
remove shadowed definitions but keep them as zero this time.

10 years agoConst conflict in PIL_dynlib_find_symbol
Ton Roosendaal [Fri, 3 Dec 2010 19:42:40 +0000 (19:42 +0000)]
Const conflict in PIL_dynlib_find_symbol
Thanks wiseman!

10 years agoBugfix #2508
Ton Roosendaal [Fri, 3 Dec 2010 19:29:05 +0000 (19:29 +0000)]
Bugfix #2508

Campbell's cleanup commit  33442 today broke axes drawing.
Restored code.

10 years agoIRC fix:
Ton Roosendaal [Fri, 3 Dec 2010 18:49:38 +0000 (18:49 +0000)]
IRC fix:

Curve editmode was missing hotkey for operator "Select Inverse"
Is now added like Mesh, CTRL+I
Thanks lmg!

10 years agoIRC bug report
Ton Roosendaal [Fri, 3 Dec 2010 18:39:40 +0000 (18:39 +0000)]
IRC bug report

Text editor, "Add new" caused zero-user block.
The claim in the code why it should be decreased is dubious.
Thanks wiseman!

10 years agoIrx report:
Ton Roosendaal [Fri, 3 Dec 2010 18:35:10 +0000 (18:35 +0000)]
Irx report:

Missing void declarator in init ffmpg (appears to be error now).
Thanks lmg!

10 years agoBugfix #24568
Ton Roosendaal [Fri, 3 Dec 2010 18:26:42 +0000 (18:26 +0000)]
Bugfix #24568

The old blocking "time cursor" wasn't working anymore.
Commit 32798 overlooked that the initialization was

Now bakes show it again. Note to self: it seems to flash
slightly (like 2.49), need to check on it one day.

10 years agoBugfix #25026
Ton Roosendaal [Fri, 3 Dec 2010 17:31:34 +0000 (17:31 +0000)]
Bugfix #25026

Nurbs edit: 'switch order' crashed when order was higher than amount of

10 years agoEnabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const...
Campbell Barton [Fri, 3 Dec 2010 17:05:21 +0000 (17:05 +0000)]
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.

Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.

10 years agocompile fixes for mingw32.
Campbell Barton [Fri, 3 Dec 2010 16:45:04 +0000 (16:45 +0000)]
compile fixes for mingw32.

10 years agoFix for compilation error caused by strict prototype checking
Sergey Sharybin [Fri, 3 Dec 2010 14:35:10 +0000 (14:35 +0000)]
Fix for compilation error caused by strict prototype checking

10 years agoFix #25017: Bezier Curve Deform Twisting after adding Shape Keys
Sergey Sharybin [Fri, 3 Dec 2010 14:35:03 +0000 (14:35 +0000)]
Fix #25017: Bezier Curve Deform Twisting after adding Shape Keys

- Invalid step was used in curve_applyKeyVertexTilts
- Minor cleanup in editcurve stuff

10 years agoBugfix #20565
Ton Roosendaal [Fri, 3 Dec 2010 14:26:03 +0000 (14:26 +0000)]
Bugfix #20565

Material Node shaders: displaying GLSL + rendering previews crashed.
Reason was non-safe threaded access to material nodes. Now, on a preview
render, a full copy of Material is being made.

10 years ago- added GCC warning -Wstrict-prototypes
Campbell Barton [Fri, 3 Dec 2010 12:30:59 +0000 (12:30 +0000)]
- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.

10 years agoFix for [#24899] Sequence Transform strips don't apply animation properly to scale.
Janne Karhu [Fri, 3 Dec 2010 12:08:59 +0000 (12:08 +0000)]
Fix for [#24899] Sequence Transform strips don't apply animation properly to scale.
* Rendering a scene strip updated all animation data to it's frame, so fcurves were left with the wrong value.
* Now the animation data is recalculated to original frame after rendering each scene strip.

10 years agoAlign Objects operator was broken due to incorrect order of vector by
Daniel Salazar [Fri, 3 Dec 2010 11:05:36 +0000 (11:05 +0000)]
Align Objects operator was broken due to incorrect order of vector by
matrix multiplication

10 years agoupdates to patch from Dan Eicher, allow adding a NodeGroup through
Campbell Barton [Fri, 3 Dec 2010 03:44:39 +0000 (03:44 +0000)]
updates to patch from Dan Eicher, allow adding a NodeGroup through, type)
made some minor changes.

10 years agofix [#24938] Seed value on Particle settings gives Error when trying to insert key.
Campbell Barton [Fri, 3 Dec 2010 02:24:21 +0000 (02:24 +0000)]
fix [#24938] Seed value on Particle settings gives Error when trying to insert key.

10 years agofix for some pedantic warnings.
Campbell Barton [Fri, 3 Dec 2010 01:52:28 +0000 (01:52 +0000)]
fix for some pedantic warnings.

10 years agofix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger...
Campbell Barton [Thu, 2 Dec 2010 22:58:23 +0000 (22:58 +0000)]
fix [#25015] Ctrl+L linking to scene list does not scroll when the list is larger than screen resolution

10 years agocorrection to error message from Dan Eicher
Campbell Barton [Thu, 2 Dec 2010 21:55:55 +0000 (21:55 +0000)]
correction to error message from Dan Eicher

10 years agofix [#24586] Report mode of console does not show proper cariage returns.
Campbell Barton [Thu, 2 Dec 2010 21:48:46 +0000 (21:48 +0000)]
fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.

10 years agofix crash when report timer was set but no usable error reports were found.
Campbell Barton [Thu, 2 Dec 2010 21:40:39 +0000 (21:40 +0000)]
fix crash when report timer was set but no usable error reports were found.

10 years agoextensions_framework: fix bug that would create extra UI space when entire row is...
Doug Hammond [Thu, 2 Dec 2010 19:03:24 +0000 (19:03 +0000)]
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.

10 years agoBugfix #25010
Ton Roosendaal [Thu, 2 Dec 2010 18:27:04 +0000 (18:27 +0000)]
Bugfix #25010

When loading files without UI (quit.blend) you got memory-free errors
for fileselect. Pointers were NULLed where not needed.

10 years agoUpdate include paths for fonts in image stat display (rev33422).
Guillermo S. Romero [Thu, 2 Dec 2010 17:30:28 +0000 (17:30 +0000)]
Update include paths for fonts in image stat display (rev33422).

10 years agoIRC comment fix:
Ton Roosendaal [Thu, 2 Dec 2010 16:12:55 +0000 (16:12 +0000)]
IRC comment fix:

Option "free all texture-images" after render, was also
freeing unsaved painted images. Now it skips them.

10 years agoFix for [#25006] Particle system crash (missing check for negative index)
Janne Karhu [Thu, 2 Dec 2010 14:52:07 +0000 (14:52 +0000)]
Fix for [#25006] Particle system crash (missing check for negative index)

10 years agobugfix [#24913] Text bevel normals wrong
Campbell Barton [Thu, 2 Dec 2010 05:39:43 +0000 (05:39 +0000)]
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.

10 years agoFix for [#25001] Enable Smoke High Resolution is greyout after baking
Janne Karhu [Thu, 2 Dec 2010 04:47:40 +0000 (04:47 +0000)]
Fix for [#25001] Enable Smoke High Resolution is greyout after baking
* Was a bit too eager to disable stuff

10 years agouse fixed width fonts for image stat display.
Campbell Barton [Thu, 2 Dec 2010 04:23:56 +0000 (04:23 +0000)]
use fixed width fonts for image stat display.

10 years agoAdditional fix for #24958 Cloth pinning not working
Janne Karhu [Thu, 2 Dec 2010 04:06:02 +0000 (04:06 +0000)]
Additional fix for #24958 Cloth pinning not working
* Don't assume that the original dm given to cloth modifier is a cddm

10 years agoAdding some descriptions for animation-related operators that were missing them.
Joshua Leung [Thu, 2 Dec 2010 02:03:30 +0000 (02:03 +0000)]
Adding some descriptions for animation-related operators that were missing them.

10 years agopatch [#23212] Python api for Nodes
Campbell Barton [Thu, 2 Dec 2010 01:18:59 +0000 (01:18 +0000)]
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()

10 years agofixed crash with rigid body constraints not having their child pointer read correctly.
Campbell Barton [Wed, 1 Dec 2010 23:40:21 +0000 (23:40 +0000)]
fixed crash with rigid body constraints not having their child pointer read correctly.

10 years agoBugfix #24999
Ton Roosendaal [Wed, 1 Dec 2010 17:47:38 +0000 (17:47 +0000)]
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.

10 years agoBugfix #24890
Ton Roosendaal [Wed, 1 Dec 2010 15:58:45 +0000 (15:58 +0000)]
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.

10 years agoBugfix #24903
Ton Roosendaal [Wed, 1 Dec 2010 13:18:24 +0000 (13:18 +0000)]
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.

10 years agoFix for [#24958] Cloth pinning not working
Janne Karhu [Wed, 1 Dec 2010 12:23:10 +0000 (12:23 +0000)]
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.

10 years agopartial fix [#23265] matrix_world rna path is visible but returns 0 to drivers withou...
Campbell Barton [Wed, 1 Dec 2010 10:17:31 +0000 (10:17 +0000)]
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.

10 years agofix for crashes trying to resolve paths "location[]" or "location.."
Campbell Barton [Wed, 1 Dec 2010 09:12:54 +0000 (09:12 +0000)]
fix for crashes trying to resolve paths "location[]" or "location.."

10 years agoincrease the reference counts when setting default scene compo nodes else removing...
Campbell Barton [Wed, 1 Dec 2010 08:49:08 +0000 (08:49 +0000)]
increase the reference counts when setting default scene compo nodes else removing them can set the user count < 0.

10 years agodisable redcode support for cmake & scons-freebsd
Campbell Barton [Wed, 1 Dec 2010 07:25:59 +0000 (07:25 +0000)]
disable redcode support for cmake & scons-freebsd

10 years agoquit blender if the first X11 window fails to open.
Campbell Barton [Wed, 1 Dec 2010 07:15:05 +0000 (07:15 +0000)]
quit blender if the first X11 window fails to open.
mainly just to avoid a segfault so the user knows its not a bug.

10 years agoworkaround [#24958] Cloth pinning not working
Campbell Barton [Wed, 1 Dec 2010 05:59:11 +0000 (05:59 +0000)]
workaround [#24958] Cloth pinning not working
detailed explanation as to why this is needed in report.

10 years agobugfix [#23406] DPX Images load darker then saved, UI broken.
Campbell Barton [Wed, 1 Dec 2010 02:54:10 +0000 (02:54 +0000)]
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.

10 years agofix for some mistakes in recent commit.
Campbell Barton [Wed, 1 Dec 2010 02:40:13 +0000 (02:40 +0000)]
fix for some mistakes in recent commit.

10 years agopatch from JacobF on IRC, copy smoke settings. double checked none of these are used...
Campbell Barton [Wed, 1 Dec 2010 02:28:08 +0000 (02:28 +0000)]
patch from JacobF on IRC, copy smoke settings. double checked none of these are used for runtime.

10 years agofix [#24990] When extruding bones the outliner does not immediately update
Campbell Barton [Tue, 30 Nov 2010 23:50:21 +0000 (23:50 +0000)]
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.

10 years agobugfix [#22638] Alpha channel not saved when using texture paint
Campbell Barton [Tue, 30 Nov 2010 23:38:31 +0000 (23:38 +0000)]
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.

10 years agominor console changes.
Campbell Barton [Tue, 30 Nov 2010 22:39:41 +0000 (22:39 +0000)]
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.

10 years agobugfix [#23423] Multi-window : closing game windows cause blender crash
Campbell Barton [Tue, 30 Nov 2010 21:51:03 +0000 (21:51 +0000)]
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.

10 years agoSmoke now uses only one point cache where both normal and high resolution smoke are...
Janne Karhu [Tue, 30 Nov 2010 21:31:18 +0000 (21:31 +0000)]
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!

10 years agominor rna changes
Campbell Barton [Tue, 30 Nov 2010 20:22:26 +0000 (20:22 +0000)]
minor rna changes
- set matrix values not to be animatable
- some matrix values were still accessed as 1d arrays.

10 years agomissing NULL check in own recent commit,
Campbell Barton [Tue, 30 Nov 2010 19:12:17 +0000 (19:12 +0000)]
missing NULL check in own recent commit,

10 years agoremove unmaintained windows and unix game engine plugin code.
Campbell Barton [Tue, 30 Nov 2010 19:08:44 +0000 (19:08 +0000)]
remove unmaintained windows and unix game engine plugin code.

10 years agoSVN maintenance.
Guillermo S. Romero [Tue, 30 Nov 2010 19:06:34 +0000 (19:06 +0000)]
SVN maintenance.

10 years agoAdd option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime...
Campbell Barton [Tue, 30 Nov 2010 18:52:39 +0000 (18:52 +0000)]
Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options.

10 years agoBugfix #24976
Ton Roosendaal [Tue, 30 Nov 2010 18:46:34 +0000 (18:46 +0000)]
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.

10 years agomisc small changes.
Campbell Barton [Tue, 30 Nov 2010 18:07:44 +0000 (18:07 +0000)]
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.

10 years agoBugfix #24986
Ton Roosendaal [Tue, 30 Nov 2010 15:39:38 +0000 (15:39 +0000)]
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!

10 years agobugfix [#24974] "select all" in weight paint -> face selection mode selects all bones...
Campbell Barton [Tue, 30 Nov 2010 05:15:58 +0000 (05:15 +0000)]
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.

10 years agobugfix [#24798] Texture panels are shown in wrong order
Campbell Barton [Tue, 30 Nov 2010 01:03:17 +0000 (01:03 +0000)]
bugfix [#24798] Texture panels are shown in wrong order

10 years agoreplace overly verbose matrix creation for BGE camera, typo fix from MikeS.
Campbell Barton [Mon, 29 Nov 2010 20:57:02 +0000 (20:57 +0000)]
replace overly verbose matrix creation for BGE camera, typo fix from MikeS.

10 years agobugfix [#24969] Python Console bug: inserting a large text leads to strange caret...
Campbell Barton [Mon, 29 Nov 2010 20:42:03 +0000 (20:42 +0000)]
bugfix [#24969] Python Console bug: inserting a large text leads to strange caret behavior

Caret wasn't wrapping.

10 years agoFalse should be with capital in Py
Ton Roosendaal [Mon, 29 Nov 2010 18:58:49 +0000 (18:58 +0000)]
False should be with capital in Py
(IRC report by dsavi)

10 years agoMakefile fix, the was using minor release numbers,
Ton Roosendaal [Mon, 29 Nov 2010 17:23:06 +0000 (17:23 +0000)]
Makefile fix, the was using minor release numbers,
which conflicts how paths work in BLI bundle detection.

10 years agoBugfix #24971
Ton Roosendaal [Mon, 29 Nov 2010 17:10:46 +0000 (17:10 +0000)]
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).

10 years agoSVN maintenance.
Guillermo S. Romero [Mon, 29 Nov 2010 17:09:33 +0000 (17:09 +0000)]
SVN maintenance.

10 years agoFor all buttons with search-menu option, the button will show a
Ton Roosendaal [Mon, 29 Nov 2010 15:25:06 +0000 (15:25 +0000)]
For all buttons with search-menu option, the button will show a
red-alert drawing when input doesn't exist. Will help debugging
when messing with uv-layer names, vertex groups, etc.

Also closes bugreport #24905

10 years agoDescription of BLI_strncpy() and BLI_strdupcat() were mixed up.
Ton Roosendaal [Mon, 29 Nov 2010 14:29:30 +0000 (14:29 +0000)]
Description of BLI_strncpy() and BLI_strdupcat() were mixed up.
IRC reported by OniNiubbo

10 years agoFrom the todo:
Ton Roosendaal [Mon, 29 Nov 2010 13:14:51 +0000 (13:14 +0000)]
From the todo:

Save or load .blend file shows cursor 'wait' again. Is clear to indicate
a totally blocking operation.

10 years agofix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
Campbell Barton [Mon, 29 Nov 2010 07:56:45 +0000 (07:56 +0000)]
fix for error when changing DISBALE_PYTHON -> WITH_PYTHON,
This define wasn't set in some parts of the BGE causing problems with the view matrix.
in CMake define for the entire BGE fixes this.

10 years agoFix [#24964] HISTOGRAM: Inconsistency in spaces
Matt Ebb [Mon, 29 Nov 2010 07:37:20 +0000 (07:37 +0000)]
Fix [#24964] HISTOGRAM: Inconsistency in spaces

10 years agoFix [#20241] half-transparent objects in volume have no shadow.
Matt Ebb [Mon, 29 Nov 2010 07:07:08 +0000 (07:07 +0000)]
Fix [#20241] half-transparent objects in volume have no shadow.

10 years agoinclude headers in cmake source, added a script to check for consistency, reporting...
Campbell Barton [Mon, 29 Nov 2010 04:35:56 +0000 (04:35 +0000)]
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.

10 years agoFix:
Matt Ebb [Mon, 29 Nov 2010 01:05:20 +0000 (01:05 +0000)]
[#24170] Camera inside volume error
[#24838] Light inside Volume material drops on it's walls - it may be double

Problem in a previous bugfix commit, reverted back, the original bug is still fixed too.

10 years agofix [#24921] Crash after inserting keyframing UV coords and changing frame in edit...
Campbell Barton [Mon, 29 Nov 2010 00:18:26 +0000 (00:18 +0000)]
fix [#24921] Crash after inserting keyframing UV coords and changing frame in edit mode
zero length arrays were still having their members accessible.

10 years agobugfix [#24947] Animations data replaced by the first animation (fbx exporter)
Campbell Barton [Sun, 28 Nov 2010 23:07:49 +0000 (23:07 +0000)]
bugfix [#24947] Animations data replaced by the first animation (fbx exporter)
this feature was ported from 2.5x but not tested, referring to the wrong object when assigning actions.

10 years agoVariable declaration in code, not allowed!
Ton Roosendaal [Sun, 28 Nov 2010 18:54:43 +0000 (18:54 +0000)]
Variable declaration in code, not allowed!
Also made it NULL, looks nicer than 0 ;)

10 years agoBugfix #24933
Ton Roosendaal [Sun, 28 Nov 2010 18:34:16 +0000 (18:34 +0000)]
Bugfix #24933

Compositor: Texture node only allowed 1 user, with more nodes using it
there was a thread conflict, using same memory for writing values.

Also: brought back the original intention for texture nodes, which is to
be using a "procedural image", not allocating memory for a buffer, but
only allowing to read per pixel. Commit in 2007 (!) allocated full buffers
for texture nodes, without using them even.

10 years ago== Sequencer ==
Peter Schlaile [Sun, 28 Nov 2010 18:23:21 +0000 (18:23 +0000)]
== Sequencer ==

This fixes Orig Dimension display (mostly).
* orx, ory both didn't get calculated, if dimension already matched
* putting them into Strip instead of StripData ment, that using images
  of different dimensions in one strip could lead to incorrect results

Still TODO: on file open, timeline display happens before preview
display which means: orig_width and height are calculated after the
first draw of N-keys dialog. You have to hit refresh (or scrub one
frame) to get the right values displayed.

10 years ago== addons ==
Luca Bonavita [Sun, 28 Nov 2010 18:22:23 +0000 (18:22 +0000)]
== addons ==

After discussing with campbell, I'm adding a menu in the addons panel to help people to find the addons development pages
This should give more visibility to the bf-extensions project so that people know where they can share their scripts "officially".

10 years agoBugfix #24953
Ton Roosendaal [Sun, 28 Nov 2010 16:36:36 +0000 (16:36 +0000)]
Bugfix #24953

Compositor: If scene render size changed, a Texture node didn't get tagged
to re-render, using previous size instead.

10 years agobugfix "Export UV Layout" stalls when saving file in 2.55b
Campbell Barton [Sun, 28 Nov 2010 13:39:39 +0000 (13:39 +0000)]
bugfix "Export UV Layout" stalls when saving file in 2.55b
remove duplicate UVs on export to avoid long ztransp filling times - common on faces which have no assigned UV coords.

10 years agofix for fix [#24955] Generating UV-Images within blender (Alt-N) not possible
Campbell Barton [Sun, 28 Nov 2010 12:38:29 +0000 (12:38 +0000)]
fix for fix [#24955] Generating UV-Images within blender (Alt-N) not possible
We had 3 reports of not being able to add images in editmode which was a workaround for redo in editmode bug.
Rather then having it use operator redo, just give an OK button.