1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
bubnikv 3ba144bfe5 Removed Selection-Add Volumes, Selection-Add Volume,
Selection-Remove Volume, Selection-Remove Volumes
from taking snapshots, therefore from localizations.
2019-08-29 10:43:26 +02:00
bubnikv 048ed74318 Another round of translation adjustments. 2019-08-28 15:12:55 +02:00
YuSanka 0a9c5a9433 Fixed extra "Add_Selection" snapshot on call context menu from scene
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
YuSanka 0520da3241 Merge remote-tracking branch 'origin' into ys_printable_property 2019-08-06 10:31:17 +02:00
bubnikv 731e5abd88 Fixed a regression issue where excessive memory was allocated
for the GLVolumes before sending to the GPU driver. The following commits
were partially reverted:

4269c8b23c Removed GLVolume non-VBO rendering
d15698e21e GLVolume and GLIndexedVertexArray refactored to send data to gpu at the first render call

Namely, the GLVolume buffers are "shrink to size"'d before sending their
content to the OpenGL driver, and the vertex buffers are populated
as quickly as possible from the GLVolume, so that the same buffer is not
kept twice in RAM on systems, where the RAM is shared with the graphics
card.

Also the memory allocation reporting was improved for the GLVolumes.
2019-08-05 14:30:32 +02:00
YuSanka 825446d145 Merge remote-tracking branch 'origin/master' into ys_printable_property 2019-08-05 08:45:47 +02:00
YuSanka f712e5fcf4 Implemented set printable state for ObjectList 2019-08-05 08:44:55 +02:00
bubnikv 9f393e6b9b Not taking the snapshot with non-empty Redo stack will likely be more confusing than losing the Redo stack.
Let's wait for user feedback.
2019-08-01 15:25:35 +02:00
Enrico Turri 0647d3ac1e Code cleanup 2019-07-31 11:12:50 +02:00
Enrico Turri 03820a38cf Render non printable instances with a darker color 2019-07-31 11:01:50 +02:00
Enrico Turri 10b27968d1 Code cleanup 2019-07-26 11:32:44 +02:00
Enrico Turri 0a04a6d92a Add remove all from selection command to undo/redo stack only when the redo stack is empty 2019-07-24 13:51:39 +02:00
Enrico Turri 18965f5c22 Do not store into undo/redo stack remove all from selection command 2019-07-24 09:47:01 +02:00
Enrico Turri 0d10d8aba7 1st installment for selection's undo/redo snapshots 2019-07-23 15:14:08 +02:00
Enrico Turri f97a61cdcf Fixed use of translate macros 2019-07-17 14:13:50 +02:00
bubnikv ab7ecc1819 Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
Enrico Turri d4914441f3 Modified logic to add snapshots to undo/redo stack using GLCanvas::do_xxxxxx() methods 2019-07-09 10:18:57 +02:00
Enrico Turri 9ba5568539 Fixed conflicts after merge with master 2019-07-08 09:23:37 +02:00
bubnikv 4e2fda3315 Undo / Redo fixes 2019-07-05 19:06:19 +02:00
bubnikv c7cc760067 Merge remote-tracking branch 'origin/master' into vb_undo_redo 2019-07-04 20:22:15 +02:00
YuSanka a29cc9e242 Update object list after undo/redo 2019-07-04 19:46:46 +02:00
bubnikv 1798e2a84c WIP Undo / Redo : serialization / deserialization of object selection. 2019-07-04 14:35:04 +02:00
bubnikv e2a670218b WIP Undo / Redo: Serializing the configs of ModelObject / ModelVolume
/ ModelMaterial as separate objects to conserve memory.
2019-07-03 13:43:54 +02:00
Enrico Turri 90daffccf2 View dependent order of rendering for layers editing visual hints to keep the correct transparency 2019-07-02 15:49:18 +02:00
Enrico Turri 4269c8b23c Removed GLVolume non-VBO rendering 2019-07-01 12:28:16 +02:00
YuSanka 0b940ec089 Some code improvements 2019-06-27 16:07:32 +02:00
Enrico Turri 1058721dba Added visual hints in 3D scene for layers editing 2019-06-27 13:42:50 +02:00
YuSanka daac165a44 Merge remote-tracking branch 'origin/master' into ys_new_features 2019-06-24 13:56:35 +02:00
Enrico Turri 7aaba25520 Do not allow to copy/paste volumes when using sla printer 2019-06-24 13:21:05 +02:00
Enrico Turri 6b0d75127b #2428
1) Reworked logic for pasting volumes

2) Fixed paste of volumes into different objects

3) Do not apply offset when pasting into the copied object

4) Keep source transformation matrix and relative positions when copy/pasting volumes into another object
2019-06-24 12:26:11 +02:00
bubnikv 35b3fd3176 Integrated the new layer height spans with configs into the backend.
Fixed some compiler warnings.
2019-06-20 16:15:09 +02:00
YuSanka 7da9d2f66d Merge remote-tracking branch 'origin/master' into ys_new_features 2019-06-13 16:18:39 +02:00
Enrico Turri abdb5c5d74 Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8 2019-06-12 10:57:20 +02:00
YuSanka 1090105b68 Experiments with updating layer_config_ranges from UI
+ Fixed OSX build
2019-06-05 11:50:59 +02:00
Enrico Turri bf9740188a Code cleanup 2019-05-24 15:22:27 +02:00
Enrico Turri c92940c985 Fixed conflicts after cherry-picking 844e99f84e 2019-05-24 14:42:46 +02:00
Enrico Turri b0200c04ae Fixed debug technology ENABLE_RENDER_SELECTION_CENTER 2019-05-20 15:59:54 +02:00
Enrico Turri 0132313ee0 Fixed position of instances after paste object 2019-05-20 10:33:49 +02:00
bubnikv 036920a43b Fix of a regression bug - joint rotation of multiple instances.
The bug was likely introduced with b89e95aea7
2019-05-15 15:22:18 +02:00
Enrico Turri f0da19446b Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r 2019-05-10 11:14:42 +02:00
bubnikv 6881911411 World / local coordinates: Fixed wrong scaling of a group selection,
changed the "anisotropic scaling" - "embed vertices" message,
fixed scaling in the world coordinate system, so it does not count
the modifiers into the bounding box size.
2019-05-07 15:43:53 +02:00
Lukas Matena 5f226c5d7f Allow wipe tower rotation by the rotation gizmo 2019-05-06 08:14:45 +02:00
bubnikv 0ab96ed6b5 Changed the "non-uniform scaling is not possible" message. 2019-05-03 12:36:26 +02:00
bubnikv 6526a8fcaf WIP: Transformation of instances in world coordinate space:
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.

Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
bubnikv 5d2537af35 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
Enrico Turri dddea0db22 Fixed selection when right-clicking in the 3D scene to show the context menu 2019-04-15 10:27:40 +02:00
bubnikv b0c33a1fe9 Fixed copying of some object's attributes into the clipboard
(layer height profile, layer height table etc)
Added public Plater::schedule_background_process()
2019-04-12 18:29:47 +02:00
Enrico Turri 7d15ee8fd9 Offset used to place newly added volumes and instances proportional to the bed max size 2019-04-12 15:31:33 +02:00
Enrico Turri defcd26b4a Copy and paste -> Fixed paste for multivolumes copies 2019-04-12 11:28:24 +02:00
Enrico Turri 6ff12111a6 Copy and paste -> Disabled paste of instances when selection is in Volume mode 2019-04-12 08:49:24 +02:00