blender.git
7 years agoColor Management: float generated images had is_data flag set incorrect
Sergey Sharybin [Tue, 25 Sep 2012 08:42:24 +0000 (08:42 +0000)]
Color Management: float generated images had is_data flag set incorrect

7 years agoNo need to show display settings in file output node
Sergey Sharybin [Tue, 25 Sep 2012 08:02:05 +0000 (08:02 +0000)]
No need to show display settings in file output node

7 years agoUse ${OPENEXR_INCLUDE_DIR} instead of ${OPENEXR}/include
Sergey Sharybin [Tue, 25 Sep 2012 07:34:45 +0000 (07:34 +0000)]
Use ${OPENEXR_INCLUDE_DIR} instead of ${OPENEXR}/include

There's no CMake symbol names ${OPENEXR} which lead to using /include
as an include directory, which isn't correct.

7 years agoFix own error (wrong portuguese-brazilian Windows "long_locale" - yuck!), and some...
Bastien Montagne [Tue, 25 Sep 2012 06:11:32 +0000 (06:11 +0000)]
Fix own error (wrong portuguese-brazilian Windows "long_locale" - yuck!), and some minor, non-code edits.

7 years agofix for gibberish text in 2DFilter actuator when text unlinked through the Text Editor
Dalai Felinto [Tue, 25 Sep 2012 05:48:33 +0000 (05:48 +0000)]
fix for gibberish text in 2DFilter actuator when text unlinked through the Text Editor
(reported nowhere, I found this while testing osl custom node)

7 years agofix [#31703] modules/rna_xml.py: BoolVectorProperty and CollectionProperty
Campbell Barton [Tue, 25 Sep 2012 05:17:23 +0000 (05:17 +0000)]
fix [#31703] modules/rna_xml.py: BoolVectorProperty and CollectionProperty

patch provided by reporter (n floyd)

7 years agofix for error disabling group visibility (which was flushed down to obects),
Campbell Barton [Tue, 25 Sep 2012 04:15:09 +0000 (04:15 +0000)]
fix for error disabling group visibility (which was flushed down to obects),
    - objects were being selected rather then de-selected.
    - object restrict selection wasnt de-selecting either (as it does when changing the object in the outliner directly).

7 years agodefault simple deforms `Relative` option to be enabled, IMHO this shouldn't be an...
Campbell Barton [Tue, 25 Sep 2012 03:00:33 +0000 (03:00 +0000)]
default simple deforms `Relative` option to be enabled, IMHO this shouldn't be an option (objects should always work relative to eachother). At least defaulting to ON gives users more predictable behavior (Transforming both objects together keeps them the same relative to eachother).

8 years agofix for regression in solidify modifier copying loop customdata to rim faces (UV...
Campbell Barton [Tue, 25 Sep 2012 01:21:21 +0000 (01:21 +0000)]
fix for regression in solidify modifier copying loop customdata to rim faces (UV's and vertex colors).

Own fault when fixing rim face flipping r46924

8 years agosmall improvement to previous commit, use pre-calculated ngon normal to avoid calcula...
Campbell Barton [Tue, 25 Sep 2012 00:25:17 +0000 (00:25 +0000)]
small improvement to previous commit, use pre-calculated ngon normal to avoid calculating twice when dupli-scale is enabled.

8 years agofix [#32646] Duplifaces can have wrong orientation with ngons
Campbell Barton [Tue, 25 Sep 2012 00:20:42 +0000 (00:20 +0000)]
fix [#32646] Duplifaces can have wrong orientation with ngons

concave ngons could flip the dupliface, now use the faces normal when calculating the dupli-face.

8 years agorename RNA duration --> frame_duration to match sequence strip.
Campbell Barton [Mon, 24 Sep 2012 22:41:10 +0000 (22:41 +0000)]
rename RNA duration --> frame_duration to match sequence strip.

8 years agocode cleanup: add missing includes to RNA (this one is safe!)
Campbell Barton [Mon, 24 Sep 2012 22:39:45 +0000 (22:39 +0000)]
code cleanup: add missing includes to RNA (this one is safe!)

8 years agofix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly...
Jens Verwiebe [Mon, 24 Sep 2012 20:37:18 +0000 (20:37 +0000)]
fix cmake in case the boostlibs don't contain boost_python3 refactor ( was possibly not correct)

8 years agofix cmake in case the boostlibs don't contain boost_python3 yet
Jens Verwiebe [Mon, 24 Sep 2012 19:53:33 +0000 (19:53 +0000)]
fix cmake in case the boostlibs don't contain boost_python3 yet

8 years agoOSX/osl: add install of shader headers needed for osl_nodes compile
Jens Verwiebe [Mon, 24 Sep 2012 19:25:32 +0000 (19:25 +0000)]
OSX/osl: add install of shader headers needed for osl_nodes compile

8 years agoOSL/cmake: the non-intrusive parts, so other os-maintainers can take code over
Jens Verwiebe [Mon, 24 Sep 2012 19:06:28 +0000 (19:06 +0000)]
OSL/cmake: the non-intrusive parts, so other os-maintainers can take code over

8 years agoSome further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.
Sergey Sharybin [Mon, 24 Sep 2012 18:22:33 +0000 (18:22 +0000)]
Some further fixes for #32626: TIFF renders are limited to 8 bit even when we choose 16.

File type was checking for wrong flags, now it should be checked against
actual file format flags which would be used on save.

We also can not free float buffer if file format doesn't have IM_FTYPE_FLOAT
flag -- i.e. TIFF doesn't have such flag and it decides whether float or
byte buffer should be used based on image depth.

8 years agoUpdate startup.blend to store proper default theme
Sergey Sharybin [Mon, 24 Sep 2012 17:57:14 +0000 (17:57 +0000)]
Update startup.blend to store proper default theme

(there were several differences on color theme stored in startup.blend
and colors after restoring them by Reset to Default Theme button).

Should be no other changes.

8 years agoThemes fixes:
Sergey Sharybin [Mon, 24 Sep 2012 17:57:09 +0000 (17:57 +0000)]
Themes fixes:

- Added initialization of frame node color to default theme loading
  Used default color from 2.63a theme, should be pretty fine as default.

- Added some missing versioning checks which lead to differences between
  startup.blend and default theme restored.

8 years ago- Corrected movie clip length computation
Sergey Sharybin [Mon, 24 Sep 2012 15:27:04 +0000 (15:27 +0000)]
- Corrected movie clip length computation
- Ignore clip's offset for movie clip sequencer strip

8 years agoSequencer: movie clip float buffers should be converted to internal sequencer space
Sergey Sharybin [Mon, 24 Sep 2012 15:26:59 +0000 (15:26 +0000)]
Sequencer: movie clip float buffers should be converted to internal sequencer space

8 years agoExpose movie clip duration property to RNA
Sergey Sharybin [Mon, 24 Sep 2012 15:26:54 +0000 (15:26 +0000)]
Expose movie clip duration property to RNA

8 years agoFix crash on sequencer when movie clip fails to load frame
Sergey Sharybin [Mon, 24 Sep 2012 14:48:24 +0000 (14:48 +0000)]
Fix crash on sequencer when movie clip fails to load frame

8 years agoFix image editor switching to no image when deselecting all faces for UV editing,
Brecht Van Lommel [Mon, 24 Sep 2012 14:36:25 +0000 (14:36 +0000)]
Fix image editor switching to no image when deselecting all faces for UV editing,
it should just keep the last image in that case.

8 years agoFix #32638: mesh double sided normals option not available in any Cycles panel.
Brecht Van Lommel [Mon, 24 Sep 2012 14:36:20 +0000 (14:36 +0000)]
Fix #32638: mesh double sided normals option not available in any Cycles panel.

8 years agoFix #32644: ctrl+F11 internal animation player crash
Sergey Sharybin [Mon, 24 Sep 2012 13:48:37 +0000 (13:48 +0000)]
Fix #32644: ctrl+F11 internal animation player crash

Crash was caused by missed color management initialization -- it was
happening too late.

Move it to generic ImBuf init/exit functions, so now color management
is properly initializing when animation player is launched.

8 years agoFix #32396: EyeDropper does nothing on "New" in Uv image editor
Sergey Sharybin [Mon, 24 Sep 2012 13:02:08 +0000 (13:02 +0000)]
Fix #32396: EyeDropper does nothing on "New" in Uv image editor

For now simply hide color picker button for properties which doesn't
have RNA path. Trying to make color picker working would end up with
design limitations like not bale to run two operators the same time.

Used RNA_property_path_from_ID_check for check which is marked as
slow and need to be used with care. Since this function is only called
from a popup, shouldn't be a big problem.

8 years agoNo need to limit image frame offset to blender's frame range
Sergey Sharybin [Mon, 24 Sep 2012 12:15:49 +0000 (12:15 +0000)]
No need to limit image frame offset to blender's frame range

8 years agoProper fix for #32626: TIFF renders are limited to 8 bit even when we choose 16.
Sergey Sharybin [Mon, 24 Sep 2012 11:56:07 +0000 (11:56 +0000)]
Proper fix for #32626: TIFF renders are limited to 8 bit even when we choose 16.

Color management would be applied on both of float and byte buffers on image
save in cases if file format doesn't require linear float buffer and if image
is saving as render result.

This solves both initial report issue and TODO marked in previous fix.

Also de-duplicated image buffer color managing code and gave some more
meaningful names for few functions. Also wrote documentation around this
function, so current assumptions about spaces should be clear enough.

Made regression tests by saving EXR/PNG images to all supported format and
rendering OpenGL/Normal animation, in all cases seems everything is fine,
but more tests for sure would be welcome.

8 years agodeleting mask data wasn't deleting loop data. also return OPERATOR_CANCELLED when...
Campbell Barton [Mon, 24 Sep 2012 10:57:44 +0000 (10:57 +0000)]
deleting mask data wasn't deleting loop data. also return OPERATOR_CANCELLED when nothing was done.

8 years agofix for memory leak grabbing masks and grease pencil in the dope sheet. (also NULL...
Campbell Barton [Mon, 24 Sep 2012 01:50:26 +0000 (01:50 +0000)]
fix for memory leak grabbing masks and grease pencil in the dope sheet. (also NULL after freeing)

8 years agorevert r50837, this assumption is made elsewhere (in transform_conversions.c), so...
Campbell Barton [Mon, 24 Sep 2012 01:36:31 +0000 (01:36 +0000)]
revert r50837, this assumption is made elsewhere (in transform_conversions.c), so better leave it for now, at least with r50836 mask datablocks display in the dope sheet by default now.

8 years agofix [#32626] TIFF renders are limited to 8 bit even when we choose 16.
Campbell Barton [Mon, 24 Sep 2012 01:13:13 +0000 (01:13 +0000)]
fix [#32626] TIFF renders are limited to 8 bit even when we choose 16.
this is a regression with color management, TIFF's were always being written as 8bit

however the float buffer is assumed to be linear when converting from float to 16bit pixels per channel, so support for color management might need to be added here.

8 years agoinserting mask keyframes wasn't redrawing with the dope sheet
Campbell Barton [Mon, 24 Sep 2012 00:37:14 +0000 (00:37 +0000)]
inserting mask keyframes wasn't redrawing with the dope sheet

8 years agodon't check the real usercount when drawing masks, this way fake user masks can be...
Campbell Barton [Mon, 24 Sep 2012 00:07:14 +0000 (00:07 +0000)]
don't check the real usercount when drawing masks, this way fake user masks can be edited in the dope sheet. (was cause of masks mysteriously not showing in the dope sheet, making masks fake user by default made this more common an issue)

8 years agofix for issue where you could easily make zero user datablocks (especially with masks...
Campbell Barton [Mon, 24 Sep 2012 00:05:02 +0000 (00:05 +0000)]
fix for issue where you could easily make zero user datablocks (especially with masks which default to fake user).

- Make mask
- assign to image editor
- disable fake user

This would make the image space reference a zero user mask datablock which wouldn't be saved.

solve the bug by making mask and image assignments check the real usercount of the ID block (not taking into account fake user).

8 years agofix [#32635] no viewport update when link and object to a scene
Campbell Barton [Sun, 23 Sep 2012 23:44:10 +0000 (23:44 +0000)]
fix [#32635] no viewport update when link and object to a scene

also comment unused static RNA functions.

8 years agofix for crash joining objects with shape keys - own mistake when fixing another bug.
Campbell Barton [Sun, 23 Sep 2012 23:30:01 +0000 (23:30 +0000)]
fix for crash joining objects with shape keys - own mistake when fixing another bug.

8 years agominor update to panel templates/examples - the panel examples didnt show an operator...
Campbell Barton [Sun, 23 Sep 2012 23:11:24 +0000 (23:11 +0000)]
minor update to panel templates/examples - the panel examples didnt show an operator and use `scene` rather then `sc` for the active scene name.

8 years agoFix #32625 Zero area-sized faces caused jittered part. distrib. to crash
Konrad Kleine [Sun, 23 Sep 2012 17:50:51 +0000 (17:50 +0000)]
Fix #32625 Zero area-sized faces caused jittered part. distrib. to crash

When appling a particle system to a face whose area size is zero,
the jitter distribution failed. fmod() produces a NaN value in this
case. This commit simply checks if the jitter offset (I guess that is
"jitoff" means) and only call psys_uv_to_w() if it's a real floating
point number.

8 years agoFix #32628: Crash when selecting Channels of the image to draw icon - Compositor
Sergey Sharybin [Sun, 23 Sep 2012 14:47:48 +0000 (14:47 +0000)]
Fix #32628: Crash when selecting Channels of the image to draw icon - Compositor

Own regressions since color management merge commit.

8 years agoA bit alternative fix for bug mentioned in rev50826
Sergey Sharybin [Sun, 23 Sep 2012 14:41:03 +0000 (14:41 +0000)]
A bit alternative fix for bug mentioned in rev50826

We need to assign color space for generated images when it's empty.
Do this in add_ibuf_size function in cases image's color space is
empty.

So now color management is always called with correct color space.

P.S. At least it should. If there're more similar issues please
     let me know :)

8 years agoFix #32522: Object's diffuse color not showing in Sculpt Mode
Sergey Sharybin [Sun, 23 Sep 2012 14:16:52 +0000 (14:16 +0000)]
Fix #32522: Object's diffuse color not showing in Sculpt Mode

It was missing since sculpting mask implementation.

Now object's color would be multiplied by sculpt mask value.

For VBOs it's done by storing final color in VertexBufferFormat and
mimic behavior of setMaterial callback for getting current diffuse
color.

For non-VBOs diffuse color is getting from current OpenGL context.

8 years agofix for crash loading old files without colormanagement.
Campbell Barton [Sun, 23 Sep 2012 10:30:39 +0000 (10:30 +0000)]
fix for crash loading old files without colormanagement.

8 years agoremove sticky customdata layers as well as sticky mtex flag
Campbell Barton [Sun, 23 Sep 2012 10:25:22 +0000 (10:25 +0000)]
remove sticky customdata layers as well as sticky mtex flag

8 years agoadd more tests to run operators testing script
Campbell Barton [Sun, 23 Sep 2012 09:37:47 +0000 (09:37 +0000)]
add more tests to run operators testing script

8 years agofix for crashes caused by mixups when adding objects when incompatible object types...
Campbell Barton [Sun, 23 Sep 2012 07:18:50 +0000 (07:18 +0000)]
fix for crashes caused by mixups when adding objects when incompatible object types were already in editmode.

8 years agofix for crash backing in background mode.
Campbell Barton [Sun, 23 Sep 2012 06:38:09 +0000 (06:38 +0000)]
fix for crash backing in background mode.

8 years agofix for crash executing a python script.
Campbell Barton [Sun, 23 Sep 2012 06:25:39 +0000 (06:25 +0000)]
fix for crash executing a python script.
nice obscure case, when a script executes, frees its self (by loading a file for eg), then has a python error.

... in this case blender would fetch the python exception and attempt to move the cursor in the freed textblock to the error line, crashing blender.

8 years agofix for some crashes running operators in background mode.
Campbell Barton [Sun, 23 Sep 2012 05:33:23 +0000 (05:33 +0000)]
fix for some crashes running operators in background mode.

8 years agofix for incorrect declaration rna_Object_free_duplilist() in cycles.
Campbell Barton [Sun, 23 Sep 2012 05:02:06 +0000 (05:02 +0000)]
fix for incorrect declaration rna_Object_free_duplilist() in cycles.

8 years agofix for all pose-group editing functions crashing when the context didnt have an...
Campbell Barton [Sun, 23 Sep 2012 02:31:30 +0000 (02:31 +0000)]
fix for all pose-group editing functions crashing when the context didnt have an area (in background mode),
fix pose-group-sort and pose-group-moving being disabled for pinned poses.

also fix for own missing NULL check for pose mask clear which would crash when run without an active object

8 years agoMake "name" member of RNA KeymapItem struct return the translated name of the underly...
Bastien Montagne [Sat, 22 Sep 2012 20:07:30 +0000 (20:07 +0000)]
Make "name" member of RNA KeymapItem struct return the translated name of the underlying operator. Else, op names are usually not translated in keymap part of the user preferences! Thx to Miklós Pomsár for pointing this bug. :)

8 years agoFix [#32629] Checking "Invert Zoom Direction" doesn't change zoom in camera view.
Bastien Montagne [Sat, 22 Sep 2012 17:45:52 +0000 (17:45 +0000)]
Fix [#32629] Checking "Invert Zoom Direction" doesn't change zoom in camera view.

8 years agoMore tweaks to sequencer Header bar: make overlay also available in mix mode, and...
Bastien Montagne [Sat, 22 Sep 2012 17:40:08 +0000 (17:40 +0000)]
More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!

8 years agoRevert a small part of r50813, so that we can build (actually, link) with Cycles!
Bastien Montagne [Sat, 22 Sep 2012 17:00:02 +0000 (17:00 +0000)]
Revert a small part of r50813, so that we can build (actually, link) with Cycles!

Note: this is marked as hack/todo in cycles code, so it needs a proper fix, but at least it works, for now... ;)

8 years agocode cleanup: make many functions static
Campbell Barton [Sat, 22 Sep 2012 14:07:55 +0000 (14:07 +0000)]
code cleanup: make many functions static

8 years agocode cleanup: remove/comment unused defines
Campbell Barton [Sat, 22 Sep 2012 13:40:31 +0000 (13:40 +0000)]
code cleanup: remove/comment unused defines

8 years agoImprovement to own commit r50810.
Campbell Barton [Sat, 22 Sep 2012 13:23:12 +0000 (13:23 +0000)]
Improvement to own commit r50810.

Add an optional ghost argument to set the new mouse location when un-grabbing. - without this the mouse would flicker at the old location before moving to the new location - when using the color picker for eg.

8 years agofix [#32609] RGB Curves Mouse Pointer Problem
Campbell Barton [Sat, 22 Sep 2012 12:25:54 +0000 (12:25 +0000)]
fix [#32609] RGB Curves Mouse Pointer Problem

this was working as intended but users complained that the mouse cursor stayed in the same location after using the color picker and curves with continuous grab enabled.

8 years agorect/point clamping function: BLI_rct*_clamp_pt_v
Campbell Barton [Sat, 22 Sep 2012 12:23:17 +0000 (12:23 +0000)]
rect/point clamping function: BLI_rct*_clamp_pt_v

8 years agoEnable predictable menu key-chaining as with r50501.
Campbell Barton [Sat, 22 Sep 2012 07:38:16 +0000 (07:38 +0000)]
Enable predictable menu key-chaining as with r50501.

The way it works now, navigation keys (up/down, number, a-z) - won't apply to a submenu if there are no active buttons in that menu, instead the parent menu gets the event.

8 years agorevert own commit r50501 (have a better way to implement this same feature)
Campbell Barton [Sat, 22 Sep 2012 07:22:42 +0000 (07:22 +0000)]
revert own commit r50501 (have a better way to implement this same feature)

8 years agoadd a UV Project material option so UV's are calculated taking into account perspecti...
Campbell Barton [Sat, 22 Sep 2012 04:57:55 +0000 (04:57 +0000)]
add a UV Project material option so UV's are calculated taking into account perspective matrix - previously this gave artifacts with lower poly meshes.

8 years agoreplace UV project modifier matrix calculation with BKE_camera_params_* functions...
Campbell Barton [Sat, 22 Sep 2012 03:33:31 +0000 (03:33 +0000)]
replace UV project modifier matrix calculation with BKE_camera_params_* functions, double checled combinations of aspect/scale/shift work as before --- but this reduces the likelyhood of discrepancies for sensor size (corner cases).

8 years agoAdded back "mesh.customdata_clear_skin"... followup for r50802
Thomas Dinges [Fri, 21 Sep 2012 22:33:43 +0000 (22:33 +0000)]
Added back "mesh.customdata_clear_skin"... followup for r50802

8 years agofix for crash getting a member from the operator context override, in some cases...
Campbell Barton [Fri, 21 Sep 2012 22:31:02 +0000 (22:31 +0000)]
fix for crash getting a member from the operator context override, in some cases python didnt hold the GIL.

8 years agoadd back clear skin operator, removed with sticky by mistake.
Campbell Barton [Fri, 21 Sep 2012 21:43:56 +0000 (21:43 +0000)]
add back clear skin operator, removed with sticky by mistake.

8 years agoUpdated comment
Sergey Sharybin [Fri, 21 Sep 2012 20:46:19 +0000 (20:46 +0000)]
Updated comment

8 years agoColor Management: different fixes for byte buffers
Sergey Sharybin [Fri, 21 Sep 2012 20:44:41 +0000 (20:44 +0000)]
Color Management: different fixes for byte buffers

- Color space of byte buffer for generated images haven't been
  updated properly on change

- Byte buffers weren't handling data color spaces on display transform
  properly

8 years agoReadme:
Thomas Dinges [Fri, 21 Sep 2012 17:56:16 +0000 (17:56 +0000)]
Readme:
* One link still pointed to 2.63 release logs.

8 years agoCycles:
Thomas Dinges [Fri, 21 Sep 2012 17:53:52 +0000 (17:53 +0000)]
Cycles:
* Change Addons Link to point to the manual instead of the dev documentation.
* Add sm_30 to Linux build configuration.

8 years agoMore fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).
Bastien Montagne [Fri, 21 Sep 2012 15:19:26 +0000 (15:19 +0000)]
More fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).

8 years ago* Fix for r50782, new "Geometry Data" Panel was missing in Cycles.
Thomas Dinges [Fri, 21 Sep 2012 13:56:10 +0000 (13:56 +0000)]
* Fix for r50782, new "Geometry Data" Panel was missing in Cycles.

8 years agoFix for r50790, removed operator printed error into the console...
Thomas Dinges [Fri, 21 Sep 2012 13:41:43 +0000 (13:41 +0000)]
Fix for r50790, removed operator printed error into the console...

8 years agoCycles UI:
Thomas Dinges [Fri, 21 Sep 2012 13:32:52 +0000 (13:32 +0000)]
Cycles UI:
* Followup for r50550, added checks to the "Samples" Button in World and Lamp Context to properly show the correct options.

8 years agoFix for [#32595] N shortcut (view-properties) is not shown in preview mode in sequenc...
Bastien Montagne [Fri, 21 Sep 2012 13:29:38 +0000 (13:29 +0000)]
Fix for [#32595] N shortcut (view-properties) is not shown in preview mode in sequence editor.

Main problem was in py UI code (has to set the context to INVOKE_REGION_PREVIEW for the shortcut lookup to succeed).

Also moved the N properties item into SequencerCommon keymap, and removed the View Selected menu entry from preview-only mode View menu (thx to Ejner Fergo for pointing this out).

8 years agoMask Editor: make Alt+S feather shrink/fatten work better when no feather was
Brecht Van Lommel [Fri, 21 Sep 2012 12:18:14 +0000 (12:18 +0000)]
Mask Editor: make Alt+S feather shrink/fatten work better when no feather was
defined yet, previously would just stick to original curve then.

8 years agoremove sticky coords from blender and the internal render engine.
Campbell Barton [Fri, 21 Sep 2012 11:37:51 +0000 (11:37 +0000)]
remove sticky coords from blender and the internal render engine.

8 years agoremove sticky coordinates from blender, this was missing from the UI since 2.49.
Campbell Barton [Fri, 21 Sep 2012 11:19:16 +0000 (11:19 +0000)]
remove sticky coordinates from blender, this was missing from the UI since 2.49.

TODO - drop support from the renderer still.

8 years agoremove sticky buttons from the UI, this functionality may be removed and has had...
Campbell Barton [Fri, 21 Sep 2012 10:40:48 +0000 (10:40 +0000)]
remove sticky buttons from the UI, this functionality may be removed and has had no UI access since 2.49

8 years agoremove mask layer from default cube
Campbell Barton [Fri, 21 Sep 2012 07:21:35 +0000 (07:21 +0000)]
remove mask layer from default cube

8 years agocalculate sticky wasnt working very well and had a few glites -
Campbell Barton [Fri, 21 Sep 2012 06:37:42 +0000 (06:37 +0000)]
calculate sticky wasnt working very well and had a few glites -
updating data was only being done on the active object but sticly was being calculated for the selection.

split this into 2 operators, one that works on the selection and another that operates on the active object - so we can have a button in the mesh panels that calculates sticky.

also note that there was no way to calculate sticky from the UI - perhaps this feature should die a quiet death?

anyway - it works better then it used to for now.

8 years agoremove default name from CD_SKIN_NODE LayerTypeInfo so its treated as a singleton...
Campbell Barton [Fri, 21 Sep 2012 06:14:22 +0000 (06:14 +0000)]
remove default name from CD_SKIN_NODE LayerTypeInfo so its treated as a singleton. theres no need to have multiple skin layers.

8 years agoLogic Editor code cleanup > 2500 lines removed - old 2.49 UI code
Dalai Felinto [Fri, 21 Sep 2012 05:19:06 +0000 (05:19 +0000)]
Logic Editor code cleanup > 2500 lines removed - old 2.49 UI code
since last two commits the UI has all the features we had in 2.49, time to remove the old code :)

8 years ago2.49 Logic Editor functionality - Add Sensor/Controller/Actuator now possible for...
Dalai Felinto [Fri, 21 Sep 2012 04:12:55 +0000 (04:12 +0000)]
2.49 Logic Editor functionality - Add Sensor/Controller/Actuator now possible for all selected objects (not only the active one)

8 years ago2.49 feature: Game Controller State name shows up when mouse over them (the name...
Dalai Felinto [Fri, 21 Sep 2012 04:09:09 +0000 (04:09 +0000)]
2.49 feature: Game Controller State name shows up when mouse over them (the name of a state is the name of the top controller of this state)
review and small tweaks by Campbell Barton

8 years agoThere was no way to remove mesh data layers from the interface - add a panel that...
Campbell Barton [Fri, 21 Sep 2012 03:41:59 +0000 (03:41 +0000)]
There was no way to remove mesh data layers from the interface - add a panel that works in object an editmode.
currently can remove sticky/mask/skin vertex layers.

regarding the skin layer - while adding and removing the modifier normally works fine, its not 100% reliable since the mesh may be linked into another scene, or be a linked duplicate and the object with the modifier deleted.

8 years agoMake Euclidean resection "always" succeed.
Keir Mierle [Thu, 20 Sep 2012 18:55:44 +0000 (18:55 +0000)]
Make Euclidean resection "always" succeed.

The Euclidean resection code had a magical constant, 1e-3, used to
compare the results of solving an equation. This failure detection
was well-intended, trying to prevent poor solutions from getting
made without notifying the caller. Unfortunately in practice, this
threshold is too conservative. Furthermore, it is not clear the
threshold should exist at all; the purpose of the Euclidean
resection is to come up with the best solution it can; other
methods (e.g. reprojection error) should be used to compare
whether the method succeeded.

This commit changes the Euclidean EPnP code to always succeed,
causing the previous fallback to projective resection to never
run. In most cases, this will result in better reconstructions.

This should, in most cases, fix the dreaded "flipping" problem.

8 years agoFix #32579: Sequencer crash when changing render dimensions
Sergey Sharybin [Thu, 20 Sep 2012 12:59:16 +0000 (12:59 +0000)]
Fix #32579: Sequencer crash when changing render dimensions

Memory limitor's queue could be affected when it's being iterated
on enforcing limits -- that's because iteration could free color
managed image buffers.

Fixed by getting least priority element after every element was
freed. Could be optimized a bit, but it anyway shouldn't be so
slow due to specific of cache limiting and limit enforcing finish
condition.

8 years agofix [#32602] Bevel operator's transform input is inverted
Campbell Barton [Thu, 20 Sep 2012 12:42:22 +0000 (12:42 +0000)]
fix [#32602] Bevel operator's transform input is inverted
inset was inverted also

8 years agostyle cleanup
Campbell Barton [Thu, 20 Sep 2012 12:29:28 +0000 (12:29 +0000)]
style cleanup

8 years agocode cleanup: use frame as a prefix for rna properties
Campbell Barton [Thu, 20 Sep 2012 12:16:00 +0000 (12:16 +0000)]
code cleanup: use frame as a prefix for rna properties

8 years agoColor Management: avoid byte->linear->byte conversion if display colorspace matches...
Sergey Sharybin [Thu, 20 Sep 2012 11:35:33 +0000 (11:35 +0000)]
Color Management: avoid byte->linear->byte conversion if display colorspace matches image's one

Solves slowdown when re-encoding byte image sequence or movie in sequencer.

Fixes #32605: Blender vse renders take more time to render than before

8 years agoFix #32607: Color picker tool doesn't work properly: always pick black.
Sergey Sharybin [Thu, 20 Sep 2012 10:38:12 +0000 (10:38 +0000)]
Fix #32607: Color picker tool doesn't work properly: always pick black.

Regressions since color picking support from background image.

8 years agoFix #32603: Multi-Layer EXR files can't be color managed
Sergey Sharybin [Thu, 20 Sep 2012 10:07:49 +0000 (10:07 +0000)]
Fix #32603: Multi-Layer EXR files can't be color managed

Issue was caused by completely different way how multi-layer EXRs are loading,
they're bypassing general image buffer loading functions.

Solved by running color space transformation on render result construction
from multi-layer EXR image.

Also fixed issue with wrong display buffer computing for buffers with less
than 4 channels. Issues were:

- Display buffer is always expected to be RGBA
- OpenColorIO can not apply color space transformations on non-{RGB, RGBA}
  pixels.

8 years agoadd back -Wundef for g++, also correct clang warnings and add -Wunused-macros warning.
Campbell Barton [Thu, 20 Sep 2012 09:19:49 +0000 (09:19 +0000)]
add back -Wundef for g++, also correct clang warnings and add -Wunused-macros warning.

8 years agocode cleanup: cycles now uses system includes for boost/oiio.. etc, so we dont get...
Campbell Barton [Thu, 20 Sep 2012 09:04:43 +0000 (09:04 +0000)]
code cleanup: cycles now uses system includes for boost/oiio.. etc, so we dont get warnings from system headers.

8 years agoffmpeg was adding an include `just incase`, without a cmake find module here - just...
Campbell Barton [Thu, 20 Sep 2012 07:43:48 +0000 (07:43 +0000)]
ffmpeg was adding an include `just incase`, without a cmake find module here - just check if the dir exists.